Skip to main content
Glama

Good Earth

Goodearth Account Statement

goodearth_account_statement

Generate a patron's account statement at this operator.

Returns the patron's purchase history, active credit tranches, per-tool usage breakdown, and recent daily usage logs. This is the patron's spending account — not the operator's Authority tax balance.

Free — no credits consumed. Proof of npub ownership is required to prevent statement-scraping of arbitrary patrons.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days of daily usage history to include (default 30).
npubYesThe patron's Nostr public key (npub1...).
dpop_tokenYesRaw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL; content:"", created_at within 60s of now, and a random `nonce` tag recommended. Or a cached dpop_token phrase.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It discloses that the tool is 'Free — no credits consumed', which is crucial cost information, and that proof of npub ownership is required to prevent statement-scraping, adding a security context. It also details the dpop_token format requirements, which is behavioral. However, it does not mention the output structure or any side effects, but given the output schema exists and the description covers core behavior, this is above average.

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

Conciseness5/5

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

The description is concise, direct, and front-loaded with the main purpose. Each sentence adds value: returns content, clarifies the account type, and highlights key constraints (free, proof required). No fluff or repetition of schema details. Well-structured for quick parsing.

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?

The description is complete for the tool's purpose: it clarifies what the statement contains, what it is not (authority balance), cost, and authentication prerequisites. The output schema presumably covers the return structure, so that is not a gap. Minor omission: no mention of pagination or limits, but given complexity and output schema, this is sufficient.

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?

The schema has 100% description coverage, so the schema already documents npub, dpop_token, and days. The description adds context about dpop_token's requirements (raw JSON, kind-27235, 'u' tag with tool's name) which goes beyond the schema's description, but it does not add much for npub or days beyond what's in the schema. Since coverage is high, a 3 is a fair baseline, with slight credit for enriching dpop_token semantics.

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?

The description clearly states a specific verb ('Generate'), a specific resource ('patron's account statement'), and the scope ('at this operator'). It lists the contents (purchase history, credit tranches, usage breakdown, daily logs) and distinguishes itself from the operator's Authority tax balance, which helps set it apart from siblings like goodearth_check_balance and goodearth_check_authority_balance. This is a clear, specific purpose.

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?

The description implies usage context: it is for accessing a patron's spending account, not the operator's tax balanceikuha. It also states the requirement of npub ownership proof via dpop_token, which guides the agent on prerequisites. However, it does not explicitly state when NOT to use this tool or compare to specific alternatives; the sibling list includes many other tools, but the description only contrasts with the authority balance, missing explicit routing guidance.

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.