Skip to main content
Glama

GetBody

Return a leased robot

return_lease
DestructiveIdempotent

End one of your ACTIVE leases and hand the robot back. finding is 'clean' or 'damage'.

Input Schema

NameRequiredDescriptionDefault
findingNoclean
lease_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?

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is carried. The description adds only the ACTIVE-lease precondition and the finding values, but says nothing about consequences of a 'damage' finding (fees, disputes) or that the robot becomes available again.

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, front-loaded with the action and scope, with no padding. The lowercase 'finding' sentence reads as an afterthought rather than an integrated constraint, but the text is tight.

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 destructive mutation with no output schema and 0% parameter documentation. The description does not say what the response contains, what happens to the robot or the lease record on return, or how a 'damage' finding affects the outcome — significant gaps for an irreversible-feeling 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?

Schema description coverage is 0%, so the description must carry parameter meaning. It only restates the enum values ('clean' or 'damage') that are already visible in the schema, and says nothing about lease_id beyond hinting it must be one of the caller's active leases.

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 ('End one of your ACTIVE leases and hand the robot back'), which is clearly distinct from activation/requesting flows. However, it never distinguishes itself from the sibling 'cancel_lease', so an agent cannot tell from the text alone which of the two to pick.

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?

'ACTIVE' implies a precondition (the lease must currently be active), which is useful. But there is no explicit when-to-use versus 'cancel_lease', and no statement of what to do if the lease is not active or already returned.

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