Skip to main content
Glama

decompose_failure

Read-onlyIdempotent

Split the error between original and corrected values into direct rule violations, boundary violations, and systemic structural error, with per-field contributions. Use with a known-correct version to diff against; use analyze_anomaly when you only have the suspicious payload. Diagnostics-tier tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesGeodesicAI API key (gai_...)
blueprintNoLoad rules from this Blueprint instead of passing them inline
original_valuesYesOriginal numeric field values as {field: number}
corrected_valuesYesCorrected/expected numeric field values as {field: number}
derivation_rulesNoMath rules as objects. Types: add, subtract, multiply, divide, round, copy, sum (multi-operand), items_multiply, items_sum. Each needs 'type' plus its fields; see the blueprint_guide prompt
formal_constraintsNoConstraint objects. Types incl. magnitude_anchor {field,min,max}, relative_anchor {field,reference_field,ratio_min,ratio_max}, max_action_threshold {field,threshold,on_violation}, required_fields {fields}, equals, range, in_set, regex_match, items_magnitude_anchor; see the blueprint_guide prompt

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds the 'Diagnostics-tier tool' label and explains the input requirement (known-correct version), which provides context beyond annotations. It does not fully describe output behavior or error cases, but the annotation coverage lowers the burden.

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?

The description is three sentences, front-loaded with the core purpose, and every sentence adds value: the first explains what it does, the second gives usage guidance and a sibling alternative, and the third sets expectations via 'Diagnostics-tier tool.' No filler or redundancy.

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 does disclose the expected output categories (rule violations, boundary violations, systemic structural error, per-field contributions). It also provides usage context and a diagnostic tier label. While it doesn't detail the exact output shape or all edge cases, the combination of annotations and schema makes it sufficiently complete for a diagnostic tool.

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 parameters are already well-documented in the schema. The description references 'original and corrected values' and 'per-field contributions' but adds no new semantic detail beyond what the schema's property descriptions already provide. Baseline 3 is appropriate.

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

Purpose5/5

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

The description opens with a specific verb ('Split') and clearly states the resource and action: decomposing errors between original and corrected values into distinct categories (direct rule violations, boundary violations, systemic structural error). It also differentiates itself from the sibling tool analyze_anomaly, making the purpose unmistakable.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool ('Use with a known-correct version to diff against') and names the alternative tool for a different scenario ('use analyze_anomaly when you only have the suspicious payload'). This is an ideal when-to-use/alternative formulation.

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.

TDQS

A3.6/5.0
Disambiguation3/5

Most tools have distinct purposes, but several pairs overlap heavily (validate vs validate_repair, repair vs repair_path, analyze_anomaly vs check_drift vs decompose_failure). Detailed descriptions help disambiguate, but the large number of analytics and diagnostics tools creates real selection risk.

Naming Consistency4/5

The vast majority use a consistent snake_case verb_noun pattern (create_blueprint, list_api_keys, verify_certificate). A few single-word or noun-phrase exceptions (validate, forecast, structural_types, recent_inference_decisions) are minor deviations, but overall the pattern is predictable.

Tool Count2/5

At 37 tools, this exceeds the 25+ threshold for 'too many'. While the governance domain is broad, the set could be consolidated (e.g., merging validate_repair into validate, folding repair_path into repair, or trimming diagnostics-tier tools like check_realization and geometric_confidence).

Completeness4/5

The surface covers the full blueprint lifecycle, validation, repair, API key management, discovery, inference governance, and chain management. Minor gaps exist: no direct get_blueprint (only list with counts), and chain lifecycle lacks delete/list/cancel operations. Overall, agents can accomplish core governance tasks without dead ends.

Resources