Skip to main content
Glama
Lucy
by ckaico

validate_handoff

Verifies all required files for a handoff are present and unchanged, preventing incomplete or corrupted handoffs.

Instructions

Check, right now, that every file a handoff requires is present and unchanged.

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": {
      "handoff_id": "<handoff_id>"
    },
    "name": "validate_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
handoff_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that presence and unchangedness are verified, but not whether the operation is read-only, how 'unchanged' is determined (hash, mtime, version), what happens on failure, or what the response contains.

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

Conciseness3/5

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

A single concise sentence front-loaded with the verb, but it is under-specified rather than efficiently compact. 'Right now' is the only additional detail and it is left vague.

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?

For a validation tool with no annotations, no output schema, and an entirely undocumented parameter, the description should explain the return shape (pass/fail, which files fail), idempotency, and the freshness semantics implied by 'unchanged'. None of that is covered, so an agent cannot predict the result.

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 coverage is 0%, and the description never explains the sole required parameter handoff_id — what a handoff is or where to obtain an id (e.g., list_handoffs). It adds no meaning beyond the bare schema.

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 ('Check') and a specific object ('every file a handoff requires is present and unchanged'), which is far more informative than the name alone. It does not distinguish itself from sibling checks such as check_document_references or check_publish_ready, which sound related.

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?

'Right now' implies point-in-time validation, but there is no explicit when-to-use guidance, no exclusions, and no routing to the plausibly overlapping sibling checks. An agent must guess whether this is a pre-publish gate or a general integrity check.

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