Skip to main content
Glama

flag_contract_for_review

Mark a contract for human review. Requires contracts:write scope.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "contract_id": "<contract_id>"
    },
    "name": "flag_contract_for_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
priorityNo
contract_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it does supply one genuinely useful behavioral fact the schema cannot: the call requires the contracts:write scope, so an agent knows auth is needed. It omits what the flag actually changes (contract status, notifications to reviewers, idempotency, reversibility), which matters for a mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action front-loaded and the scope requirement second; nothing is wasted. It is however so terse that the brevity borders on under-specification rather than efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with no annotations, no output schema, and three parameters at 0% schema coverage, so the description needed to do heavy lifting and does not. It should at minimum explain the effect of the flag, whether repeat calls are safe, and what reason/priority control.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters including a required UUID contract_id, a 500-character reason, and an enum priority. The description explains none of them, so the agent gets no guidance on what the flag reason is used for or how priority affects routing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: "Mark a contract for human review" tells the agent exactly what state transition is being requested. It does not reference any sibling tool, but the purpose is unambiguous on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "for human review" implies an escalation workflow, which hints at when to use it, but the description never states prerequisites or when to prefer another path (e.g. list_contracts or get_contract_details to inspect first). Usage is implied rather than specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources