Skip to main content
Glama

diagnose question

diagnose_question

Test a question and assess the answer using a bounded sample of evidence, including possible retrieval misses or conflicting sources. Consumes one message; external actions are disabled. Evidence and model assessments require human review.

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": {
      "chatbot_id": "<chatbot_id>",
      "question": "<question>"
    },
    "name": "diagnose_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYes
chatbot_idYesSelected chatbot ID or demo token.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false, idempotentHint=false), the description adds real behavioral context: it consumes one message (the quota cost), external actions stay disabled, and the evidence plus model assessments are unreliable and need human review. That is genuine added value, though it does not say whether a repeat call consumes another message or how large the "bounded sample" is.

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 no filler, and the core action leads. "Test a question and assess the answer" slightly restates the tool name, but every remaining clause (bounded evidence, message cost, human review) earns its place.

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 values do not need explaining, and the description covers cost, action-isolation, evidence scope, and the human-review caveat. What is still missing for a non-idempotent tool is how it differs from test_chatbot and any detail on the two required parameters.

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?

The description says nothing about either parameter. The schema documents chatbot_id but not question (only a 2000-character limit), which leaves coverage at 50%, and the description does not fill that gap by explaining the question semantics or what a "demo token" behaves like differently from a real ID.

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 uses specific verbs ("test", "assess") on a concrete resource (a question and its answer), and it pegs the scope ("bounded sample of evidence"). It never names the overlapping sibling test_chatbot, so the agent must still infer the distinction, which is why this dimension scores 4 and not 5.

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?

The phrase "Test a question and assess the answer" implies a diagnostic use case instead of a production one. No sentence states when to choose this tool over test_chatbot or search_knowledge, and there are no explicit exclusions, so the usage guidance stays at the implicit level.

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