Skip to main content
Glama

Settle a contract

settle_contract

Finalize payout based on the latest verification score.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYes
contractIdYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the core side effect — finalizing a payout — but does not mention reversibility, idempotency, repeated-call risks, permissions, or response behavior. For a financial mutation tool, this is a significant gap.

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?

The description is a single focused sentence that front-loads the verb and key qualifier. Every word earns its place, with no filler or redundant restating 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?

The core action, object, and scoring basis are present, which is arguably adequate for a simple two-parameter tool. However, with no annotations and no output schema, an agent still lacks critical operational context about prerequisites, side effects, and expected return values for a settlement operation.

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?

The schema has 0% description coverage and the description adds no explicit meaning to either apiKey or contractId. The word 'contract' weakly aligns with contractId, and apiKey is left entirely to inference from its name, so the description only minimally compensates for the missing parameter documentation.

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

Purpose5/5

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

The description uses a specific verb ('Finalize') and resource ('payout based on the latest verification score'), clearly distinguishing this from sibling tools like create_contract, submit_delivery, and verify_delivery. It states exactly what the tool does and when its output is determined.

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 'based on the latest verification score' implies the tool should be used after verification, but there is no explicit guidance about prerequisites, ordering, or when to choose this over sibling tools. The usage context is inferred rather than stated.

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.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool targets a distinct lifecycle action or query: registration, contract creation, delivery submission, verification, settlement, notifications, and transaction listing. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern, such as create_contract, submit_delivery, and verify_delivery. The naming style is uniform across the entire set.

Tool Count5/5

Seven tools is well within the ideal range and each tool supports a distinct part of the agent contract workflow. The count feels appropriately scoped without unnecessary redundancy.

Completeness4/5

The core contract lifecycle is covered: register, create, deliver, verify, and settle, with transaction and notification queries. Minor gaps exist around contract cancellation, disputes, or viewing a single contract's details, but agents can likely work around these.