Skip to main content
Glama

DERATE — truck fault codes

Get diagnosis

get_diagnosis
Read-onlyIdempotent

Return the full DERATE demo diagnosis for a truck: verdict (STOP/CAUTION/CLEAR), derate countdown, every fault code and the work order summary.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the diagnosis text: 'es' (Spanish) or 'en' (English).es

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. Because there is no output schema, the description's disclosure of the actual response contents (verdict values, countdown, fault codes, work order summary) is the only place that information exists and adds real value; only auth/rate-limit context is absent.

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?

A single sentence that front-loads the verb and scope and spends every clause on distinct return content. No filler or restatement of the title.

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 no output schema, the description carries the return-value burden and does so well, including the verdict vocabulary. It is slightly incomplete in not clarifying how a truck is identified when zero parameters are required, and in not hinting that output language follows 'lang'.

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?

One optional parameter with 100% schema description coverage, so the schema fully documents 'lang' with its enum and default. The description adds nothing about language selection, so the baseline 3 applies.

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 ('Return') and resource ('full DERATE demo diagnosis for a truck') and enumerates the payload (verdict, countdown, fault codes, work order summary). That enumeration differentiates it from narrower siblings like interpret_derate or get_truck_fault_code, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no routing against the many overlapping siblings (interpret_derate, explain_fault_code, get_truck_fault_code, es_seguro_manejar). An agent must infer that this is the aggregate 'everything at once' call purely from the return-field list.

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