Skip to main content
Glama

answer_user_delegation

Destructive

Answer an OPEN delegation as the human — same as 'Antworten senden' in the tab: writes each answer, status answered, answered_at; the Dev-Agent session that asked is then resumed the usual way (runner pick-up). Every question needs an answer (earlier answers are kept). Only the person themselves: refused while an agent is active (work_as_agent). Permission questions (kind permission): give permission once | always | group | deny — exactly the tab's four buttons; free text does not apply. Mail drafts in questions are NOT sent; the agent sends after its own approval rule.

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": {
      "delegation_id": "<delegation_id>"
    },
    "name": "answer_user_delegation"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersNoOne entry per question (question ids from get_user_delegation).
commentNoOptional note to the agent (user_comment).
permissionNoOnly for permission questions.
question_idNoPermission question to answer when there are several; default the first.
delegation_idYesID of the delegation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / answers / items / properties / answer / description
      Added value: +"Answer text for this question"
    • addedInput schema / properties / answers / items / properties / question_id / description
      Added value: +"ID of the question"
    • addedInput schema / properties / delegation_id / description
      Added value: +"ID of the delegation"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false) by disclosing the write effects (answers written, status set to answered, answered_at stamped) and the downstream consequence that the asking Dev-Agent session is resumed via runner pick-up. It also discloses non-obvious side effects: earlier answers are kept, mail drafts in questions are not sent, and permission questions reject free text. No contradiction with annotations.

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?

Front-loaded with the purpose and then dense with operational rules in roughly the right priority order; almost every clause carries information. It is a single long run-on paragraph with parenthetical jargon ('runner pick-up', 'work_as_agent') that would read better split into usage and effects sections.

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 destructive, non-idempotent mutation with no output schema, the description covers the important ground: preconditions, persistence behavior, session resumption, and the permission-mode special case. The main remaining gap is that it never says what the call returns or how a partial failure across multiple questions is reported.

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; the description adds real meaning on top by explaining the permission enum as the tab's four buttons (once/always/group/deny) and warning that free text does not apply to permission questions. It also clarifies the one-answer-per-question requirement, though it says little about how comment (user_comment) influences the resumed agent.

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?

States a specific verb and resource ('Answer an OPEN delegation as the human') and pins the behavior to a concrete UI concept ('same as "Antworten senden" in the tab'). An agent can distinguish this from read-only siblings like get_user_delegation or work_as_agent purely from the description.

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 a clear precondition (delegation must be OPEN) and an explicit exclusion: refused while an agent is active (work_as_agent), which tells the agent when this call will fail. It also points at get_user_delegation as the source of question ids. It does not spell out a full decision tree against every sibling, so it stops short of a 5.

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.