Skip to main content
Glama

stellar_xdr_compare

Compare two XDR values of a specified type to check equality, enabling validation of Stellar blockchain data.

Instructions

Compare two XDR values

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leftYesLeft XDR value to compare
typeYesXDR type of both inputs
rightYesRight XDR value to compare
channelNoXDR specification channel
inputFormatNoInput format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about permissions, whether it's read-only, what equality semantics apply, or what a comparison result looks like. For a tool with zero structured behavioral coverage, this is a significant gap.

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?

A single short sentence that front-loads the action and resource. It's efficient, though almost too terse to carry useful context.

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

Completeness2/5

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

With no annotations and no output schema, the description should explain return/equality semantics or at least confirm read-only behavior. It provides none of that for a 5-parameter comparison 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 coverage is 100% with each parameter documented (left, right, type, channel, inputFormat). The description adds no syntax or format detail beyond what the schema provides, 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 (Compare) and resource (two XDR values), which is clear enough to distinguish from decode/encode/guess siblings. It doesn't explicitly name those siblings, but the comparison operation is unambiguous.

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?

No when-to-use guidance, no mention of alternatives such as stellar_xdr_decode. It's implicitly a comparison utility, but nothing tells an agent when to reach for it over other XDR tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools