Skip to main content
Glama

Sprout: AI Finance & Cash Flow

Add a note or tags to a transaction

annotate_transaction
DestructiveIdempotent

Use this only when the person asks to note something on a transaction or tag it, for example "mark this as a business expense" or "note that this was a gift". Takes a transaction id from search_transactions and replaces its note and tags; tags are short words such as business, tax-deductible, reimbursable, shared, or gift. An empty note and no tags clears them. The note stays with the purchase when a pending charge posts. Sprout's view only, never the bank's records.

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": {
      "transactionId": "<transactionId>"
    },
    "name": "annotate_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoA short note in the person's words.
tagsNoShort tags, such as business or tax-deductible.
transactionIdYesTransaction id from search_transactions.

Output Schema

NameRequiredDescriptionDefault
noteYes
tagsYes
transactionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the key risk: the call REPLACES the existing note and tags rather than appending, and an empty note with no tags clears them — consistent with destructiveHint=true. It also states the note survives a pending charge posting and that changes stay in Sprout's view, never the bank's records.

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?

The usage condition is front-loaded and every sentence carries information — overwrite semantics, clearing behavior, persistence, and scope. It is a single dense paragraph that borders on a run-on, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with an output schema and full annotation coverage, the description covers trigger conditions, overwrite/clear semantics, persistence, and scope. Nothing an agent needs to call it correctly is missing.

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%, so the baseline is 3, and the description still adds meaning: tags are "short words" with illustrative values, the note is in the person's own words, and the clear-via-empty behavior is not derivable from the schema. It does not mention the 500/24/8 length and count limits, which the schema covers anyway.

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 verb and resource: adding a note or tags to a transaction, with concrete examples ("mark this as a business expense"). It is clearly distinguishable from set_transaction_category, which handles a different field.

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?

"Use this only when the person asks to note something on a transaction or tag it" gives an explicit trigger plus an implicit exclusion, reinforced by two realistic phrasings. It never names a sibling alternative, so an agent must still infer that categorizing belongs elsewhere.

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.