Skip to main content
Glama

DERATE — truck fault codes

Get truck fault code

get_truck_fault_code
Read-onlyIdempotent

Look up a diesel truck fault code (J1939 SPN/FMI such as 'SPN 3251 FMI 0', or an OBD-II code such as 'P2002') in DERATE's public fault-code library. Returns what the code means, its severity, whether it is safe to keep driving, probable causes, the recommended tests, and the canonical URL of the public page for that code. Works without any account.

Input Schema

NameRequiredDescriptionDefault
codeYesThe fault code, e.g. 'SPN 3251 FMI 0', '3251/0' or 'P2002'.
langNoResponse language: 'es' (Spanish) or 'en' (English).es
engine_familyNoOptional engine family for context, e.g. 'cummins', 'paccar-mx', 'detroit'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 safety is covered structurally. The description usefully adds that this is a public library requiring no account, and it enumerates the response content (meaning, severity, drive-safety, probable causes, recommended tests, canonical URL), which is non-obvious behavioral information.

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?

Two sentences, well front-loaded with the action and resource before the return-value list. Slightly dense in the return enumeration, but every clause conveys information an agent would otherwise lack.

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

Completeness5/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 compensates by listing exactly what is returned, and it notes the no-account requirement. For a single-required-param read tool with full annotation coverage, an agent has everything needed to call it correctly; only sibling routing is missing, which is scored elsewhere.

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 the schema already documents 'code', 'lang' (with enum), and 'engine_family'. The description restates the code format examples from the schema but says nothing about 'lang' or 'engine_family' semantics, so it adds no meaning beyond the schema. 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?

The description states a specific verb and resource ('look up a diesel truck fault code') and enumerates the accepted code formats (J1939 SPN/FMI, OBD-II). It does not, however, differentiate itself from overlapping siblings such as explain_fault_code, search_fault_code_library, buscar_codigo, or es_seguro_manejar, which appear to cover the same ground.

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?

'Look up a fault code ... in DERATE's public fault-code library' implies the usage context, and 'Works without any account' hints at when it's viable (unauthenticated lookup). But it never states when to prefer this tool over explain_fault_code, buscar_codigo, or search_fault_code_library, which is a real selection risk given the crowded sibling set.

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