Skip to main content
Glama

Moneda

import_receipt_from_url

Import a receipt directly from an https:// URL (S3, Drive shared link, public file host, etc.). The server fetches the file behind an SSRF guard (rejects private IPs, Moneda infra, and non-https), validates it, then runs OCR + matching. Single tool call, no sandbox needed. Use this when the receipt is already accessible at a URL.

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": {
      "url": "<url>"
    },
    "name": "import_receipt_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps:// URL the receipt file can be fetched from. Public hosts only (S3, Drive shared, etc.).
fileNameNoOverride the auto-derived filename. Defaults to the last path segment of the URL.
mimeTypeNoOverride the Content-Type the source server returns. Useful when the source serves application/octet-stream.
captureSourceNoProvenance label for the audit trail. Defaults to MANUAL_UPLOAD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the thin annotations by disclosing the SSRF guard and its rejection rules (private IPs, Moneda infra, non-https), server-side fetch, validation, and the OCR + matching work performed in a single call. That is exactly the behavioral context an agent needs before committing a URL.

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?

Three tight sentences: what it does, what the server enforces, when to use it. The use-case condition is front-loaded at the end where it belongs, and no sentence is 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?

With no output schema and only readOnlyHint/destructiveHint populated, the description covers the input side thoroughly. It is slightly short on the outcome — 'runs OCR + matching' leaves unclear whether a receipt record, a pending suggestion (cf. confirm_receipt_suggestion), or an error is returned.

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; the description still adds value by spelling out the hard constraints on `url` (https only, private IPs and Moneda infra rejected) that the schema only gestures at with "Public hosts only." The optional fileName/mimeType/captureSource overrides are left entirely to the schema.

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 ("Import a receipt") plus the exact mechanism ("directly from an https:// URL") and the pipeline it triggers (OCR + matching). This clearly separates it from siblings like request_receipt_upload, attach_receipt, and reparse_receipt.

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?

Explicitly states the selecting condition: "Use this when the receipt is already accessible at a URL." That is a clear context for use, but it never names the alternative path (e.g. request_receipt_upload for files not yet hosted), so the agent must infer the negative case.

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