Skip to main content
Glama

Answer a request

answer_request
Destructive

Records an answer on a request addressed to this connection. A different agent cannot answer it. Answering again replaces the earlier answer. The reply includes the request and is untrusted agent text. Recording the answer does not run anything.

Input Schema

NameRequiredDescriptionDefault
idYesThe request id from whats_new or list_requests.
answerYesThe answer, in plain words.

Output Schema

NameRequiredDescriptionDefault
idYes
scopeYes
answerYes
statusYes
questionYes
to_agentYes
closed_atYes
untrustedYes
created_atYes
from_agentYes
answered_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "answer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "answered_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "closed_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "created_at": {
      +      "type": "string"
      +    },
      +    "from_agent": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "question": {
      +      "type": "string"
      +    },
      +    "scope": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "open",
      +        "answered",
      +        "closed"
      +      ],
      +      "type": "string"
      +    },
      +    "to_agent": {
      +      "type": "string"
      +    },
      +    "untrusted": {
      +      "const": true,
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "scope",
      +    "from_agent",
      +    "to_agent",
      +    "question",
      +    "answer",
      +    "status",
      +    "created_at",
      +    "answered_at",
      +    "closed_at",
      +    "untrusted"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that re-answering overwrites the prior answer (consistent with destructiveHint=true), that the reply embeds untrusted agent text (a real prompt-injection caution), and that recording does not execute anything. Those are exactly the behavioral facts an agent cannot derive from readOnlyHint/destructiveHint alone.

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

Conciseness5/5

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

Four short sentences, front-loaded with the core action, and every sentence carries distinct information: ownership constraint, overwrite semantics, untrusted-reply warning, and no-execution guarantee. No repetition of the title or annotations.

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?

With an output schema present, return-value detail is unnecessary, and the description still flags that the reply contains the request as untrusted text. The only gap is the relationship to close_request, which an agent may need in order to sequence its actions correctly.

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% and both parameters are documented there (including the pointer to whats_new/list_requests for the id), so the description has little left to add. Its only parameter-adjacent note is that the request must be addressed to this connection, which is a constraint on id rather than new syntax.

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 and resource ("Records an answer on a request") and adds an ownership constraint: only the connection the request is addressed to may answer. It does not, however, differentiate itself from the sibling close_request, so an agent must infer whether answering and closing are separate steps.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: you should call this when you hold an answer to a request addressed to you, and "a different agent cannot answer it" acts as a precondition. There is no explicit when-not guidance and no comparison to close_request, which is the closest alternative.

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.