Skip to main content
Glama

Moneda

update_transaction_category

Assign a spending category to a transaction. Identify the transaction by its transactionHash from get_transactions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "transactionHash": "<transactionHash>",
      "category": "<category>"
    },
    "name": "update_transaction_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesThe category to assign
transactionHashYesThe transaction hash (from get_transactions output)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered and the description is consistent with it. The description adds the lookup provenance for the hash but says nothing about whether an existing category is overwritten, whether the call is idempotent, or what happens on an invalid hash.

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?

Two short sentences, zero filler, with the action front-loaded and the identifier provenance immediately after. Nothing could be removed without losing information.

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 two-parameter mutation with full schema coverage and annotations, the definition covers the action and the source of the identifier adequately; no output schema exists, so return behavior is out of scope. The remaining gap is category semantics (e.g., whether GENERAL is a fallback), which is minor given the self-describing enum.

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 category parameter carries a full 22-value enum, so the schema does the heavy lifting. The description only adds the provenance hint for transactionHash ('from get_transactions'), which is modest value beyond the schema text.

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?

States a specific verb and resource: 'Assign a spending category to a transaction.' The singular framing implicitly separates it from the batch sibling, but it never names batch_update_transaction_categories or any other alternative, so an agent must infer the distinction.

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 implied rather than stated: the description tells you where to get the transactionHash (get_transactions), which establishes a prerequisite, but gives no when-to-use/when-not guidance and no routing logic versus the batch variant that covers the same operation.

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