Skip to main content
Glama

Get Diagnosis Result

get_diagnosis_result
Read-onlyIdempotent

Get results of a diagnosis, or view diagnosis history/usage.

Use with diagnosis_id to get a specific result. Use with brand_id + view='history' to see past diagnoses. Use with brand_id + view='usage' to check remaining quota.

Args: brand_id: For history/usage views. diagnosis_id: For fetching a specific result. view: 'history' or 'usage'. Omit for single result. limit: Results per page for history, 1-100. Default 20.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNo
limitNo
brand_idNo
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.
diagnosis_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds the meaning of each view mode, but says nothing about auth scope, pagination mechanics, or return content beyond the 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 purpose sentence followed by three usage bullets and a compact Args list; each line maps to an action. The Args block partly restates the usage bullets, which is mild redundancy.

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

Completeness3/5

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

With no output schema, the description should ideally convey what a 'result' actually contains or how history entries are shaped; it only gestures at this ('past diagnoses', 'remaining quota'). Adequate for invocation, incomplete for interpreting the response.

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 only 20%, so the description carries real weight and does document brand_id, diagnosis_id, view, and limit (with 1-100 range and default 20). It omits user_intent, but that param is self-documented in the schema; the only flaw is listing view as 'history' or 'usage' while the enum also allows 'result'.

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 ('Get results of a diagnosis') and immediately broadens to the two auxiliary views it serves. It is distinguishable from write-path siblings like run_diagnosis, though it doesn't name them explicitly.

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 three concrete invocation patterns mapping parameter combinations to intent (diagnosis_id for one result, brand_id+view='history' for past runs, brand_id+view='usage' for quota). Clear context, but no explicit exclusions or prerequisites (e.g., that a diagnosis must exist first).

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