Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Paidnice.

Get contact statement PDF

get_contact_statement_pdf
Read-onlyIdempotent

Renders the contact's statement of account as a PDF, the same as Download statement in the app. Over MCP this returns a download link that works for about an hour. Nothing is sent to the customer. Use list_contacts to find the id. Read only.

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": {
      "organisationId": "<organisationId>",
      "id": "<id>"
    },
    "name": "get_contact_statement_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPaidnice contact id, from list_contacts or as contactId on an invoice
typeNoUsed when templateId is omitted. outstanding: unpaid invoices and credits. activity: invoices and payments over the activity period, only for organisations that have an activity statementoutstanding
periodNoWhich items to include, by issue date. Defaults to the organisation's statement setting
currencyNoOnly items in this currency (ISO code). Omit for every currency
templateIdNoStatement template to render, as listed in Settings > Statements. Decides the statement type on its own. Omit for the organisation's default
organisationIdYesId of the organisation to act on, from list_organisations

Output Schema

NameRequiredDescriptionDefault
urlYesSigned download URL. Anyone with it can download the file until it expires
filenameYesSuggested name for the downloaded file
expiresAtYesWhen the URL stops working, about an hour after the call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior. The description adds genuinely non-obvious traits: the MCP response is a download link valid for roughly an hour, and nothing is emailed to the customer. It does not mention rendering latency, failure modes, or whether link expiry means re-calling is needed.

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?

Four short sentences, front-loaded with the action and followed by the transient download-link caveat and the no-customer-notification guarantee. The trailing 'Read only' mildly duplicates the annotation but costs almost nothing.

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 an output schema present, return-value detail is not required, yet the description still usefully characterizes the return as an expiring link. For a six-parameter read tool with full schema coverage, the only minor gap is that permissions/error behavior is left to annotations and schema.

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 100%, with period, type, currency, and templateId all fully documented in the schema, so the description needn't restate them. It only reinforces that id comes from list_contacts, matching the schema's own wording. Baseline 3 is appropriate.

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 precise verb and resource: renders the contact's statement of account as a PDF. It grounds the tool against a familiar in-app action (Download statement) and, together with the sibling name get_invoice_pdf, makes the resource distinction (contact statement vs. invoice) unambiguous.

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 supplies a concrete prerequisite: use list_contacts to find the id, which matches the required id parameter. It also clarifies that this is the same as the in-app Download statement. It stops short of stating when-not to use it or naming an alternative sibling (e.g., get_invoice_pdf) as a fallback.

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