Skip to main content
Glama
Starling Safe MCP

Starling Safe MCP

by logicethos

upload_transaction_attachment

Uploads a receipt file to a Starling transaction from base64 content (max 1.5 MB) without changing the amount; requires explicit confirmation before applying.

Instructions

WRITE. Uploads one receipt file (plain base64, at most 1.5 MB) onto a transaction. Does not change the amount. No file path is read from disk. Requires confirmed: true.

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": {
      "feedItemUid": "<feedItemUid>",
      "contentType": "<contentType>",
      "base64": "<base64>",
      "confirmed": "<confirmed>"
    },
    "name": "upload_transaction_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
base64YesPlain base64. Do not include a data: URL prefix.
confirmedYesMust be true. Set this only after the user has explicitly agreed to this exact change.
accountUidNoAccount UID from list_accounts. Omit when the token can see only one account.
categoryUidNoCategory UID. Omit to use the account's main feed (defaultCategoryUid). A savings goal UID is also a category UID.
contentTypeYesimage/jpeg, image/png, image/webp, application/pdf, or text/plain.
feedItemUidYesTransaction feed item UID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, open-world behavior, but the description adds real operational context: a 1.5 MB cap, base64-only inline content, no filesystem read, and the fact that the transaction amount is untouched. It does not mention how duplicate uploads behave or what auth scopes are needed, which are the remaining gaps.

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?

Five terse sentences, front-loaded with the WRITE marker and the core action; each additional sentence adds a distinct constraint (size, encoding, no disk read, no amount change, confirmation). No redundancy or filler.

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 6-parameter mutation with full schema coverage, annotations, and no output schema, this covers the action, the payload constraint, the confirmation gate, and a key side-effect boundary. It leaves out only edge behavior such as replacing an existing attachment and permission requirements.

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?

With 100% schema description coverage the baseline is 3, and the description earns above it by supplying a payload size constraint (at most 1.5 MB) that appears nowhere in the schema, plus restating the confirmed: true gate that governs invocation.

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?

Opens with an explicit 'WRITE' marker and a specific verb+resource: 'Uploads one receipt file ... onto a transaction.' The clause 'Does not change the amount' implicitly distinguishes it from the sibling save_transaction_receipt, but no sibling is named outright, keeping it just shy of a 5.

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?

Gives a hard prerequisite ('Requires confirmed: true') and clarifies the input mode ('plain base64 ... No file path is read from disk'), which tells the agent how to call it. It never states when to choose this over save_transaction_receipt or list_transaction_attachments, so guidance is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.