Skip to main content
Glama
customaise

customaise

Official

finish_handover

Idempotent

Marks a hand-over as finished so it is never offered again; include a short failure reason when the requested action could not be completed.

Instructions

Mark a hand-over finished, so it is never offered again. Call it once you have acted on an item from wait_for_handover: the user's remote then says you have finished. If you could not do what it asked, pass failed with the reason in a few words for the user (for example "Nobody is signed in to Tesco in that browser"): their remote shows it, and the item is closed. Never call it without failed for something you did not do, and never leave an item you cannot do.

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": {
      "id": "<id>"
    },
    "name": "finish_handover"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe item's id, as wait_for_handover or list_handovers gave it
failedNoOnly when you could not do it: why, in one short sentence for the user. Their remote shows it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.6.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, and the description stays consistent while adding real context: the item is permanently retired from the queue, the failure string is surfaced verbatim on the user's remote, and the item is closed either way. Those user-visible consequences are not derivable from the annotations or 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?

The success path is front-loaded and every instruction is actionable, but the 'their remote shows it' consequence is stated twice, which is mild redundancy. The parenthetical example is well-placed and earns its space by concretizing the tone expected for the user-facing reason.

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?

With only two parameters, full schema coverage, a full annotation set, and no output schema, the description supplies everything an agent needs: the precondition, the failure branch, the prohibition, and the user-visible effect. Nothing required to call this correctly is missing.

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 goes further by explaining the conditional nature of 'failed' (only when you could not do the task), its audience (a short sentence for the user), and an illustrative example. It stops short of restating the 200-character cap, which the schema already handles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Mark a hand-over finished') plus the observable effect ('never offered again'), and it distinguishes itself from the sibling that produces items ('an item from wait_for_handover'). An agent can tell this apart from list_handovers or wait_for_handover without opening any schema.

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

Usage Guidelines5/5

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

It gives an explicit trigger ('Call it once you have acted on an item from wait_for_handover'), an explicit branch for failure ('If you could not do what it asked, pass failed'), and an explicit prohibition ('Never call it without failed for something you did not do, and never leave an item you cannot do'). Both the when and the when-not are stated.

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