veya_commitment_exists
eth_call Veya.sol commitments(bytes32) for a digest
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digestHex | Yes |
eth_call Veya.sol commitments(bytes32) for a digest
| Name | Required | Description | Default |
|---|---|---|---|
| digestHex | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, but it does disclose a genuinely useful trait: this is an eth_call, i.e. a read-only simulation with no gas cost, signing, or state mutation. That is real value. It stops short of stating which chain/network is queried, whether the read reflects finalized state, or what happens for a missing commitment.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single terse clause with no filler; the essential information leads. It is arguably under-specified rather than wasteful, but structurally it is clean.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, no annotations, and a parameter with zero schema documentation. For an on-chain read tool the agent still lacks the return shape (boolean? address? revert on missing?) and the target chain, so the definition is not self-sufficient for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the single parameter is only constrained by minLength 64. The description compensates partially by tying the argument to the ABI's bytes32 digest, which implies a 32-byte value. It does not specify encoding (hex vs base64, 0x prefix, casing), leaving real ambiguity for a raw bytes32 argument.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a concrete operation - an eth_call to Veya.sol's commitments(bytes32) mapping - so an agent can tell it touches the on-chain commitment registry. But it never states the purpose in plain terms (checking whether a commitment exists for a digest) and gives no differentiation from siblings like veya_verify_commitment_onchain or veya_store_commitment, which an agent would need to choose between.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no mention of prerequisites, and no reference to alternatives. The nearest sibling, veya_verify_commitment_onchain, is indistinguishable from this tool on the basis of the description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.