Skip to main content
Glama

validity_build

Read-onlyIdempotent

Make any signed Base transaction conditional (Cobalt) — Make any signed Base transaction conditional (Cobalt validity tx): Base includes it only while your conditions hold. We validate the predicates and return the base_sendRawTransactionValidity request; we never touch funds or keys. Every request carries the deadline Base requires (at most 60 s out; set for you if omitted). Optional conditions: fromBlock, flashblockIndex (1-10), minNativeBalanceWei, or a storage predicate for price. Priced $0.01 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.

Input Schema

NameRequiredDescriptionDefault
signedTxNoYour signed serialized tx (optional)
fromBlockNoEarliest block (optional)
storageOpNoAdvanced: operator (< <= = != > >=)
beforeBlockNoDeadline block (optional; at most 60 s out, set for you if omitted)
storageMaskNoAdvanced: mask (hex, optional)
storageSlotNoAdvanced: storage slot (hex)
storageValueNoAdvanced: compare value (hex)
balanceAddressNoAccount for the balance floor (optional)
storageAddressNoAdvanced: pool/token for a storage condition
flashblockIndexNoFlashblock index 1-10 (optional)
flashblockIndexOpNoFlashblock operator (optional, default =)
minNativeBalanceWeiNoMin ETH balance floor, wei (optional)

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / beforeBlock / description
      Previous value: -"Deadline: before this block (recommended)"New value: +"Deadline block (optional; at most 60 s out, set for you if omitted)"
    • changedInput schema / properties / flashblockIndex / description
      Previous value: -"Flashblock index (optional)"New value: +"Flashblock index 1-10 (optional)"
  2. Added

TDQS

A3.8/5.0
Behavior5/5

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

Adds substantial context beyond annotations: it never touches funds or keys, the deadline is at most 60s and set automatically if omitted, and it discloses the payment model ($0.01/call over x402, prepaid x-credit-token for unlimited calls, 1 free call/day, no API key). This is behavior an agent could not infer from readOnly/idempotent hints alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, but the opening clause is duplicated verbatim and the pricing/credit paragraph, while useful, is dense and could be tightened. Roughly half the text is payment logistics rather than tool semantics.

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?

For a 12-parameter, all-optional tool with an output schema and full annotation coverage, the description supplies enough — purpose, condition types, deadline behavior, payment/auth model — to call it correctly. It omits only how the constructed request is consumed downstream, which the output schema can cover.

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 every parameter is already documented. The description restates a subset (fromBlock, flashblockIndex 1-10, minNativeBalanceWei, storage predicate) and clarifies the deadline default, but adds little semantic detail the schema lacks. Baseline 3 is appropriate.

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 and resource — making a signed Base transaction conditional and returning a base_sendRawTransactionValidity request. It is clearly distinct from most siblings, though it never names or contrasts with the plausible alternative base_swap_validity or simulate_tx.

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?

It implies when to use it (when you want a signed tx gated on predicates like fromBlock, flashblockIndex, minNativeBalanceWei, or storage) and notes defaults are auto-set, but it gives no explicit when-not guidance and no comparison to sibling validity/simulation tools.

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