Skip to main content
Glama

Get Credit Card Attachments

get_credit_card_attachments
Read-onlyIdempotent

List invoice/receipt scans attached to CREDIT CARD transactions.

Purchases put on a company card often carry the invoice as an attachment on the card transaction rather than on an AP bill, which puts them out of reach of the bill and check tools. Search by date range, vendor, amount, or card, then pass a FileID to download_attachment to read the document.

``location`` (optional): a single Rent Manager Location ID. Required
when the connection has several Locations (see ``list_locations``);
this tool never fans out across Locations.

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": "get_credit_card_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
payeeNo
amountNo
end_dateNo
locationNo
start_dateNo
credit_card_idNo
transaction_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the description's added value is the location constraint: a single Location ID is required on multi-Location connections and the tool never fans out across Locations. That is a genuine operational constraint an agent would otherwise miss. It does not discuss result volume or paging, which is the remaining 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?

The purpose and the bill/check distinction are front-loaded, followed by the workflow and the location caveat in a logical order. There is minor waste in the stray indentation and backtick formatting, but no sentence is filler.

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

Completeness3/5

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

With an output schema present and rich annotations, the description needn't explain returns, and the core workflow plus location rule are covered. But for an 8-parameter tool with zero schema descriptions, leaving `limit` (default 50) and `transaction_id` undefined and giving no date format leaves real gaps an agent must guess at.

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 0%, so the description must compensate, and it partially does: it names the searchable dimensions (date range, vendor, amount, card) and explains location in detail. However, `limit` and `transaction_id` are never mentioned, and no formats are given for dates, amount matching, or payee matching semantics.

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?

The description opens with a specific verb and resource ("List invoice/receipt scans attached to CREDIT CARD transactions") and scopes it to credit-card transactions specifically, which separates it from the bill/check/journal attachment siblings by name of domain. An agent can tell exactly what this returns without opening the schema.

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?

It gives a concrete motivating scenario (purchases on a company card carry the invoice on the card transaction, out of reach of bill and check tools) and an explicit next step: pass a FileID to download_attachment. It stops short of explicit "use X instead when Y" routing against get_check_attachments, but the context is clear.

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