Skip to main content
Glama
grammy-mcp
by louietyj

answerGuestQuery

Reply to a received guest message by supplying its query ID and an inline result object; returns the sent guest message on success.

Instructions

Use this method to reply to a received guest message. On success, a SentGuestMessage object is returned.

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": {
      "guest_query_id": "<guest_query_id>",
      "result": "<result>"
    },
    "name": "answerGuestQuery"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultYesAn object describing the message to be sent
guest_query_idYesUnique identifier for the query to be answered

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, open-world, non-destructive operation. The description adds that a SentGuestMessage object is returned on success, but does not mention permissions, rate limits, or other side effects.

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?

Two short sentences, front-loaded with the action and followed by the success return value. No unnecessary wording.

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 simple two-parameter reply tool with full schema coverage and annotations covering safety traits, the description is largely complete. It notes the return type, though it does not describe the SentGuestMessage structure in detail.

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 description coverage is 100%, so both parameters are already documented in the schema. The description adds no additional meaning about guest_query_id or the nested result object beyond what the schema provides.

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 states a specific verb and resource: replying to a received guest message. It is clear enough to distinguish from generic messaging tools, though it does not explicitly contrast with sibling answer* methods.

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?

It gives a clear usage context: use this to reply to a received guest message. It does not state when not to use it or name alternatives such as answerCallbackQuery or answerInlineQuery.

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

Deploy Server

Other Tools