Skip to main content
Glama

validity_build

Read-onlyIdempotent

Make any signed Base transaction conditional (Cobalt) — Wrap ANY signed Base transaction (transfer, approve, contract call) in a Cobalt validity transaction: Base holds it dormant until your conditions hold, then includes it — a good-till-block/conditional order, no limit-order contract, nobody holding it. We validate the predicates and return the base_sendRawTransactionValidity request; we never touch funds or keys. Conditions: beforeBlock, fromBlock, flashblockIndex, minNativeBalanceWei, or a storage predicate for price. One required. 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 wallet or API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signedTxNoYour signed serialized tx (optional)
fromBlockNoEarliest block (optional)
storageOpNoAdvanced: operator (< <= = != > >=)
beforeBlockNoDeadline: before this block (recommended)
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 (optional)
flashblockIndexOpNoFlashblock operator (optional, default =)
minNativeBalanceWeiNoMin ETH balance floor, wei (optional)

Output Schema

TableJSON 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. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses the exact output ('return the base_sendRawTransactionValidity request'), that it only validates predicates and never touches funds or keys, its pricing model ($0.01/call over x402), the prepaid x-credit-token header, the 1 free call/day, and that no wallet or API key is required. This is unusually rich operational context.

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?

Front-loaded with the core purpose, then constraints, then pricing/auth logistics — each sentence carries information. It is somewhat dense in its parenthetical asides and repeats the 'wrap any signed Base transaction' idea, but there is no filler.

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 conditional-tx builder with an output schema already present, the description covers the flow, the never-touches-keys guarantee, the condition requirement, and payment/auth — enough to invoke it correctly. Minor gap: no detail on how the advanced storage-predicate fields interact.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the schema baseline is 3, but the description adds real semantics: it groups the parameters into named condition types and reveals that at least one condition must be supplied even though the schema lists zero required parameters. It does not, however, explain the storage predicate fields or ordering of the optional parameters.

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 concrete verb and resource: wrapping a signed Base transaction in a Cobalt validity transaction, enumerating the applicable tx types (transfer, approve, contract call). It implies a distinction from the swap-specific sibling base_swap_validity by claiming 'ANY signed Base transaction', but never names or contrasts that sibling explicitly.

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

Usage Guidelines4/5

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

It gives clear context for use (make a transaction conditional/good-till-block) and a key operational rule — 'Conditions: ... One required' — which is real guidance absent from the schema. However, it specifies no when-not conditions and never routes the agent to an alternative tool.

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