Skip to main content
Glama

tfa.diagnose

Inspect a communication history

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": {
      "message_id": "<message_id>"
    },
    "name": "tfa.diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden and adds nothing: it does not state that this is a read-only inspection, whether it requires authentication or elevated permissions, what 'diagnose' actually checks, or what the response contains. For a diagnostic tool with zero annotation coverage this is a serious gap.

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

Conciseness2/5

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

It is short, but the brevity is under-specification rather than economy: the single sentence is front-loaded with a misspelled verb and an undefined resource, so no useful information lands first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, no parameter documentation, and a one-line vague description, nothing an agent needs in order to call this tool correctly (scope, permissions, return shape, relation to tfa.messages.get or tfa.rooms.history) is present.

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

Parameters2/5

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

Schema description coverage is 0% for the single required 'message_id' parameter, and the description never mentions it, its format, or whether it refers to an outbound or inbound message. It therefore adds no meaning beyond the bare property name in the schema.

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

Purpose2/5

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

The description offers a verb ('Inspect', presumably 'inspect/inspect') and a vague object ('a communication history'), but it never says whose history, what a 'communication' is (messages, rooms, events?), or what 'diagnose' means. Against siblings like tfa.rooms.history and tfa.messages.get, an agent cannot tell what distinguishes this tool from a plain history or message fetch.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, no exclusions, and no named alternative. The agent is left to guess whether this is a debug/diagnostic path versus the normal history or messages retrieval tools.

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.

Resources