Skip to main content
Glama

approve_quality_contract

Idempotent

Approve this exact contract hash only after operator authorization and review of destination meanings, locale, nulls, actions and disclosed coverage.

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>",
      "expected_hash": "<expected_hash>",
      "approve": "<approve>"
    },
    "name": "approve_quality_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
approveYes
contract_idYes
expected_hashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive mutation, and the description adds genuinely new context: human-in-the-loop operator authorization is required, and a specific review checklist must be satisfied first. The emphasis on 'this exact contract hash' implies an optimistic-concurrency guard, though the description never states what happens on a hash mismatch.

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

Conciseness5/5

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

One sentence with the verb and the object front-loaded, then the gating condition. The comma list of review items is dense but each item carries information; no filler or restatement of the title.

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

Completeness3/5

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

For a three-parameter, irreversible-in-spirit approval mutation with no output schema, the description covers preconditions well but omits the outcome: what approval unlocks downstream, how a hash mismatch is surfaced, and what the call returns. Annotations carry the safety profile, which lowers the bar, but the result behavior is still undocumented.

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

Parameters3/5

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

Schema coverage is 0%, so the description must supply parameter meaning. 'This exact contract hash' does explain expected_hash as a version-pinning argument, but contract_id and the approve boolean get no explanation at all — the boolean's semantics are only implied by the verb 'Approve'.

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 concrete verb ('Approve') and a concrete resource ('this exact contract hash'), so an agent knows this commits an approval against a specific contract version. It does not explicitly name how it differs from the sibling approve_quality_baseline, leaving the contract-vs-baseline distinction to be inferred from the name.

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

Usage Guidelines4/5

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

Gives an explicit precondition: call it 'only after operator authorization and review of destination meanings, locale, nulls, actions and disclosed coverage.' That is a real gating rule an agent can act on. It stops short of naming alternatives (e.g., draft_quality_contract for making changes) or stating what to do when the precondition is unmet.

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.