Skip to main content
Glama

Tokenbooks - crypto and fiat accounting and payments

Full Resync (DANGER — wipes & rebuilds history)

full_resync
Destructive

DANGER: delete and rebuild the selected wallet transaction, journal, and cost-basis history from source data. Use only after the user explicitly requests this destructive reset and accepts the consequences; use incremental_sync for routine new activity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletsNoOptional exact wallet pairs; omit to wipe and rebuild every wallet in the portfolio
portfolioRefYesPortfolio exact name or slug
workspaceRefYesWorkspace exact name or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false. The description adds valuable behavioral context by specifying exactly what gets destroyed and rebuilt, plus a clear danger warning. It does not contradict the annotations.

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 two sentences with no filler. The warning is front-loaded, the action is stated directly, and the alternative is cleanly separated in the second sentence.

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?

Combined with the destructive annotation and fully described schema, the description gives an agent enough information to invoke the tool correctly and avoid misuse. It does not describe post-call results or verification, but that is a minor gap for a destructive resync tool with no output schema.

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%, and the schema already documents all parameters, including the optional wallets behavior. The description does not add parameter-level detail, but it doesn't need to given the complete schema coverage, so the baseline 3 is appropriate.

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 names a specific destructive operation ('delete and rebuild... from source data') and identifies the affected resources (wallet transaction, journal, and cost-basis history). It also explicitly distinguishes itself from incremental_sync, making sibling differentiation clear.

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

Usage Guidelines5/5

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

It explicitly states the only acceptable condition for use ('only after the user explicitly requests this destructive reset and accepts the consequences') and names the alternative for routine cases ('use incremental_sync for routine new activity'). This is strong when-to-use and when-not-to-use 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.

Resources