Skip to main content
Glama

free

Destructive

Release an Android device or emulator lease held by the current coding-agent session so queued agents can use it; refuses if another owner holds the lease.

Instructions

Release the lease on a serial held by this session. Refuses if another owner holds it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "free"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so safety is covered structurally; the description usefully adds that the call refuses when another owner holds the lease. It omits other behavior an agent needs, notably what happens if the optional serial is omitted or if this session holds no lease at all. The refusal disclosure is genuine added value but the failure surface is only half described.

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?

Two short sentences, front-loaded with the action and followed by the failure condition. Nothing is wasted and no filler precedes the operative information.

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 single-parameter, no-output-schema tool, the definition covers action, ownership scope, and one refusal case. The remaining gap is the optionality of serial and the no-lease-held case, which would matter for correct invocation but are minor relative to this tool's simplicity.

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

Parameters4/5

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

With one parameter at 0% schema coverage, the description must carry the meaning, and it does identify 'serial' as the lease's identifier and ties ownership to the calling session. It still does not say whether serial is required or how an omitted value is interpreted, which is notable given the schema marks zero required parameters.

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 gives a specific verb plus resource: 'Release the lease on a serial held by this session.' That clearly separates it from claim/renew/queue siblings even though no sibling is named explicitly. It is not tautological with the bare name 'free', which alone would have been opaque.

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?

Usage is implied by 'held by this session' – you free a lease you own – and the refusal clause signals a failure case. However, it never says when to free versus renew, nor what to do if you don't hold the lease, leaving the agent to infer the workflow.

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