Skip to main content
Glama

decide_handoff

Approve or reject a proposed handoff to set approved decisions as current knowledge, with automatic refusal when cited files have changed.

Instructions

Approve or reject a proposed handoff. Needs a key with the medium role (only handoffs by others, never your own) or the grand role. Approving makes it the current handoff and its decisions approved knowledge; it is refused when its cited files changed since.

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>",
      "decision": "<decision>"
    },
    "name": "decide_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe proposal (knowledge item) or handoff id, from list_pending.
noteNoWhy, in one line: what you checked.
decisionYesapproved or rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1-alpha.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does well on the approval path: it becomes the current handoff, its decisions become approved knowledge, and the call is refused if cited files changed. It says nothing about what rejection does to the proposal, what the response contains, or whether an approval can be undone.

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?

Three tight sentences with the core action front-loaded, then prerequisites, then side effects and the refusal condition. The parenthetical about never acting on your own handoff is slightly dense but carries real 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 three-parameter mutation tool with no annotations and no output schema, the description covers authorization, side effects, and the one known failure mode. The remaining gap is post-rejection behavior, which matters because reject is one of only two decision values.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents id, decision, and note, and the baseline of 3 applies. The description only reinforces meaning for the approval value of decision, adding nothing about the note field or the accepted decision values beyond what the enum-less schema states.

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 pair (approve or reject) and resource (a proposed handoff), so the operation is unambiguous. It does not differentiate from the sibling decide_proposal, even though the id parameter explicitly accepts 'proposal (knowledge item) or handoff id', leaving overlap with that sibling unresolved.

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?

Gives concrete preconditions: you need the medium role and may only act on handoffs by others, or you need the grand role. The self-handoff exclusion is explicit. It stops short of naming decide_proposal as the alternative for knowledge-item proposals or pointing at list_pending for discovering ids.

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