Skip to main content
Glama

settlement_line

Read-onlyIdempotent

USDC payment → double-entry journal stub — Turn a USDC settlement into bookkeeping lines: amount, accounts, memo, optional Base tx= enrichment (status, timestamp, to). Returns journal JSON plus a two-line CSV. Not tax advice. Priced $0.005 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
txNoBase tx hash (optional)
memoNoMemo
assetNoAsset
amountNoAmount
counterpartyNoCounterparty
debitAccountNoDebit account
creditAccountNoCredit account

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

TDQS

A4.3/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive), and the description goes further: it discloses the exact return artifacts, x402 pricing ($0.005/call), the x-credit-token unlimited path, a free 1-call/day tier, and that no API key is needed. It even flags the 'stub' nature and 'Not tax advice', which are meaningful behavioral caveats.

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-loads the core purpose and return artifacts before the commercial mechanics. Dense but every clause carries information; the pricing/auth sentence is long, yet it is genuinely needed to call the tool.

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?

An output schema exists, so return-shape detail is not strictly required, and the description still summarizes the outputs. Payment/auth model is fully covered. Gaps are minor: no note on how missing required-free fields (0 required params) are handled or what validation errors look like.

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?

Schema coverage is 100% but the schema descriptions are terse single words ('Amount', 'Memo', 'Asset'). The description adds real semantics, clarifying that tx is an optional Base tx hash used for enrichment (status, timestamp, to) and grouping amount/accounts/memo as the bookkeeping inputs.

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?

States a specific transformation: a USDC settlement into double-entry bookkeeping lines, with concrete artifacts named (journal JSON, two-line CSV). This clearly separates it from siblings such as bank_csv or receipt_parse, which handle other ledger inputs.

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?

The framing 'turn a USDC settlement into bookkeeping lines' implies the use case, and the payment/free-tier mechanics tell the agent how to invoke it, but there is no explicit when-to-use versus alternatives or when-not guidance. Usage is inferred rather than stated.

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