Skip to main content
Glama

Pinpal Receipts

Get an upload link for a receipt file

create_upload_link

A one-time HTTPS link to send a receipt or invoice file to with a plain POST, instead of writing it out as base64: curl -F "file=@invoice.pdf" <url> (multipart file field), or the raw bytes with an X-File-Name header. No other auth: the link is it. One file per link, 15 minutes, 10 MB; a used or expired link answers 410, so ask for a new one per file. Give the line's ID (line, like #1042), or month and number, to put the file straight on that line; only month to sort it among that month's lines; neither for the Inbox (a line that matches by amount and date gets it at once). The POST answers 201 with the document, what the reader found, where it went and the line's status. The file is added as from you.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNoThe line's ID, like #1042 (list_lines and read_line show it): names the line alone, instead of month and number.
monthNoThe month as YYYY-MM, like 2026-09; with number, or give line instead.
numberNoThe line's number in the month, like 12; with month, or give line instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say readOnlyHint=false, openWorldHint=false, destructiveHint=false) by disclosing one-time use, a 15-minute lifetime, a 10 MB cap, no additional authentication, a 410 for used/expired links, and a 201 response containing the document, what the reader found, destination and line status. It also discloses that the file is attributed to the caller.

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?

Front-loaded with the essential concept and sized roughly to the number of behavioral facts it must convey. The single dense paragraph with stacked parentheticals and semicolons makes it slightly harder to scan than a few short structured lines would be, but there is essentially no filler.

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 mutation-adjacent tool with no output schema, the description supplies everything needed: how to invoke the returned link (multipart `file` field or raw bytes with X-File-Name), auth expectations, limits and failure codes, targeting semantics, and the shape of the POST response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents each field, but the description adds genuine meaning: the ID format ('#1042', cross-referencing list_lines/read_line), the YYYY-MM month form, how `number` combines with `month`, and what happens when no target is supplied (Inbox with amount/date matching). This is meaning the schema does not carry.

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 concrete verb+resource: a one-time HTTPS link you POST a receipt or invoice file to, and explicitly contrasts it with sending base64 content instead. An agent can immediately tell this apart from a direct upload tool without inspecting sibling schemas.

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?

Gives both the when (use a link rather than base64 when you need to hand off a POST endpoint) and precise target-selection rules: `line` alone, `month`+`number`, `month` only to sort into that month's lines, or neither to land in the Inbox with auto-matching by amount and date. Exclusions and repeats are covered ('ask for a new one per file').

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