Skip to main content
Glama
Starling Safe MCP

Starling Safe MCP

by logicethos

save_transaction_receipt

Idempotent

Attach a merchant receipt and itemized amounts to an existing Starling transaction without changing the bank amount. Use after explicit confirmation to record purchase details.

Instructions

WRITE. Stores a receipt (merchant and amounts) against one transaction, using Starling's receipt endpoint. Does not change the bank transaction amount. Requires metadata:create or receipt:write on the token, and 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>",
      "merchantName": "<merchantName>",
      "total": "<total>",
      "confirmed": "<confirmed>"
    },
    "name": "save_transaction_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNo
totalYesAmount in major units, for example "12.34". At most two decimal places.
currencyNoISO currency. Defaults to the account currency, or GBP. GBP, EUR, or USD.
confirmedYesMust be true. Set this only after the user has explicitly agreed to this exact change.
feedItemUidYesTransaction feed item UID.
merchantNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds genuinely valuable context beyond them: required token scopes (metadata:create or receipt:write), the mandatory confirmed=true gate tied to user consent, and the guarantee that the bank transaction amount is not modified. It does not say whether an existing receipt is overwritten, which is the main residual gap.

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?

Three short sentences, front-loaded with the 'WRITE.' signal so the agent knows the operation class immediately. Every sentence carries information, though the endpoint name is mild filler; nothing is padded or redundant.

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 tool with no output schema, the description covers the operation class, permission requirements, the consent precondition, and the non-mutating effect on the underlying transaction. It lacks detail on overwrite semantics and what is returned, but the essentials for correct invocation are present.

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 67%, so several parameters (total, currency, confirmed, feedItemUid) are already documented. The description only loosely maps to merchantName and the items/total amounts without adding format, limits, or constraints beyond the schema. Baseline 3 is appropriate since the schema does most of the work.

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: 'Stores a receipt (merchant and amounts) against one transaction,' and even names the backing endpoint. It is clearly a write that attaches receipt data to an existing transaction. It stops short of naming a sibling such as upload_transaction_attachment to disambiguate receipt storage from file attachment, so it earns 4 rather than 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?

Usage is implied by 'against one transaction' and reinforced by the scope note that the bank transaction amount is unchanged, which tells the agent this is not a correction tool. There is no explicit when-not guidance and no alternative named for handling attachments versus receipts, so the agent must infer routing from sibling names alone.

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