Skip to main content
Glama

Export the wallet

export_wallet
Read-only

The saved wallet as a wallet.yaml file: card ids, checkout labels, picks, activations, opening dates and anniversaries, memberships, point values, cap usage, welcome-bonus progress, yearly spending toward spend bonuses, and statement credits enrolled in, used and not used. earnrate.dev imports it, and the earnrate command line reads it saved as ~/.earnrate/wallet.yaml. Never card numbers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
yamlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive and closed-world. The description adds real behavioral context beyond them: the target filename and CLI path (~/.earnrate/wallet.yaml), interoperability with earnrate.dev, and the privacy guarantee 'Never card numbers', which is a meaningful disclosure for an export tool. An output schema exists, so it does not need to enumerate return values, though the file-write side effect (does it write to disk or return content?) remains slightly ambiguous.

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?

The structure is front-loaded: the core fact that this is a wallet.yaml export appears first, followed by compatibility and the privacy caveat. However, the middle twelve-item enumeration of contents (card ids, checkout labels, picks, activations, and so on) largely restates what the output schema already documents and inflates the description considerably.

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 zero-parameter, read-only export with both annotations and an output schema, the description is nearly complete: it covers the artifact, its contents, downstream consumers, the file location, and what is deliberately excluded. The only thin spot is whether the export returns content or writes a file, which the path mention only loosely resolves.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate, and the baseline applies. The description correctly implies a no-argument, whole-wallet export rather than a filtered slice.

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 identifies a concrete artifact: a wallet serialized as a wallet.yaml file, and it follows with the exact contents. It is distinct from list_wallet, because this is a file export rather than a data read. The verb itself is carried by the name and title, and the description relies on the noun phrase to restate the resource, so it is slightly less than fully self-contained.

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?

Usage is only implied: the mention that earnrate.dev imports the file and that the CLI reads it from ~/.earnrate/wallet.yaml hints at when to export instead of inspecting in-place. It never explicitly contrasts with list_wallet or says when not to use it, nor whether a prior import or switch_wallet is needed.

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.