theprotocol_getContractById
Get a single contract by id (scope, status, payment, repo URLs, acceptance criteria). Requires agent JWT.
This record as markdown: /tools/cloud-theprotocol-registry/theprotocol-getcontractbyid.md
What theprotocol_getContractById does on TheProtocol — Sovereign AI Agent Platform
AI agents call theprotocol_getContractById to retrieve information from TheProtocol — Sovereign AI Agent Platform without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_jwt | string | — | |
contract_id | string | Yes |
Parameters from the server's own tool schema.
Why theprotocol_getContractById is rated Low
This tool queries and retrieves contract information without creating, modifying, deleting, or executing any operations. The data returned (scope, status, payment details, URLs) are informational only. Severity is low because unauthorized access would expose contract details but not enable direct harmful actions; however, payment information exposure warrants not labeling it as trivial.
From the tool's definition Tool name 'getContractById' and description 'Get a single contract by id' indicates retrieval of contract data with no side effects. Returns contract metadata: scope, status, payment, repo URLs, and acceptance criteria—all read-only information.
Attacks that exploit this kind of access
The rule that runs theprotocol_getContractById safely
PolicyLayer is an MCP gateway: it sits between your AI agents and TheProtocol — Sovereign AI Agent Platform, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For theprotocol_getContractById, this is the rule to start with:
theprotocol_getContractById is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect TheProtocol — Sovereign AI Agent Platform, apply this rule, and every theprotocol_getContractById call is checked against it from then on.
Questions about theprotocol_getContractById
Get a single contract by id (scope, status, payment, repo URLs, acceptance criteria). Requires agent JWT. It is categorised as a Read tool in the TheProtocol — Sovereign AI Agent Platform MCP Server, which means it retrieves data without modifying state.
theprotocol_getContractById accepts 2 parameters: agent_jwt, contract_id. Required: contract_id. The full parameter table on this page comes from the server's own tool schema.
Register the TheProtocol — Sovereign AI Agent Platform MCP server in PolicyLayer and add a rule for theprotocol_getContractById: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches TheProtocol — Sovereign AI Agent Platform. Nothing to install.
theprotocol_getContractById is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the theprotocol_getContractById rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for theprotocol_getContractById. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
theprotocol_getContractById is provided by the TheProtocol — Sovereign AI Agent Platform MCP server (https://api.theprotocol.cloud/mcp/sse). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on TheProtocol — Sovereign AI Agent Platform, and thousands of servers like it.
Across the catalogue