Skip to main content
Glama

approve_job

Approve submitted work and release payment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob ID to approve
agent_idYesAgent ID approving (must be poster)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Since no annotations are provided, the description carries the full burden. It does disclose that payment is released, which is a significant side effect, but it omits critical details such as irreversibility, required authorization (despite the schema hint that agent_id must be the poster), or the effect on the job's status. This is particularly important for a financially-impacting action.

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, concise sentence that front-loads the primary verb 'approve'. There is no extraneous text, redundancy, or unnecessary elaboration, making it highly efficient.

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

Completeness4/5

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

For a simple two-parameter tool, the description captures the core action and outcome well. However, it omits behavioral context such as reversibility and authorization, which is especially relevant for a payment-releasing tool. Given the lack of annotations, this gap prevents a perfect score, but the tool's low complexity makes the description mostly adequate.

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?

The input schema already provides clear descriptions for both 'job_id' and 'agent_id', achieving 100% schema description coverage. The description adds no additional meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

The description uses the specific verb 'approve' and identifies the resource ('submitted work') and the outcome ('release payment'). It is clear and unambiguous, though it does not explicitly distinguish it from the sibling tool 'complete_deal', which might also involve payment release.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'complete_deal' or 'submit_job'. The only hint is the phrase 'submitted work', which implies it follows submission, but there is no explicit sequencing, prerequisites, or exclusions. This is insufficient for choosing among sibling tools.

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