Skip to main content
Glama

Silent Door Repository Handoff Planner

prepare_repository_handoff

Read-onlyIdempotent

When preparing a user-authorized repository file handoff to another agent or reviewer, call with arguments such as {"entries":[{"path":"src/app.py","kind":"file"}]}. Send permitted relative filenames and kinds only; never file contents, secrets or URLs. Returns exact zero-based include/exclude/skip indexes and reasons for the original entries. This is filename-only planning, not a content security scan or permission to upload.

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": {
      "entries": "<entries>"
    },
    "name": "prepare_repository_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
entriesYesRequired: actual user-authorized paths collected from the local repository before calling. The remote server cannot enumerate local files. Do not copy example filenames or send an empty object.

Output Schema

NameRequiredDescriptionDefault
schemaYes
skipIndexesYes
entryDecisionsYes
excludeIndexesYes
includeIndexesYes
manifestDigestYes
entriesReceivedYes
contentSecurityVerifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / entries / description
      Added value: +"Required: actual user-authorized paths collected from the local repository before calling. The remote server cannot enumerate local files. Do not copy example filenames or send an empty object."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent and non-destructive, so the safety bar is partly met; the description adds genuinely new behavior: only permitted relative filenames and kinds may be sent, contents/secrets/URLs are forbidden, and the result includes exact zero-based include/exclude/skip indexes with reasons. It does not discuss scale limits, but the server-side constraint ('remote server cannot enumerate local files') is covered in the schema.

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?

Four tight sentences: trigger first, example second, input constraints third, output and boundary last. Nothing is redundant, though the embedded JSON example makes the first sentence heavy and slightly interrupts front-loading.

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

Completeness5/5

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

An output schema exists, yet the description still summarizes the return contract (zero-based include/exclude/skip indexes plus reasons), and it covers the caller's obligations (supply real authorized paths, never contents or secrets). For a single-parameter, read-only planning tool this is complete enough to call correctly on the first try.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds a worked example of the entries array and reiterates the filename-only restriction that shapes what values are legal. That is incremental value beyond the schema's own field documentation.

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 and resource ('preparing a user-authorized repository file handoff') and illustrates the input shape with a concrete example, so the agent knows exactly what operation is performed. It also draws a boundary against sibling concerns ('not a content security scan or permission to upload'), though it does not name the sibling tools directly.

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

Usage Guidelines4/5

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

It states the trigger condition explicitly ('When preparing a user-authorized repository file handoff to another agent or reviewer') and adds clear exclusions ('filename-only planning, not a content security scan'). It stops short of naming the alternative tools (repository_safety_preflight, diagnose_a2a_request) so routing between siblings still requires inference.

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