Skip to main content
Glama

Get invoice

get_invoice
Read-onlyIdempotent

Retrieve details for a single invoice by ID, including a link to download the PDF. Use the invoice ID from list_invoices to fetch full invoice information.

Instructions

Get details for a single invoice, including a link to the PDF.

Input Schema

NameRequiredDescriptionDefault
invoice_idYesthe invoice ID, from list_invoices

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
typeNo
amountNo
statusNo
currencyNo
due_dateNo
paid_dateNo
issued_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely new context by disclosing that the response includes a link to the PDF, which annotations and schema do not convey.

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?

A single front-loaded sentence with no filler; the resource and the notable output detail are both packed in without waste.

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 and annotations covering safety, the description needn't explain return values, and it adds the one non-obvious detail (PDF link). It stops short of noting behavior for missing/invalid IDs, but for a simple getter this is close to complete.

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% and the sole parameter is fully documented in the schema ('the invoice ID, from list_invoices'). The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 (get) and resource (a single invoice), and the qualifier 'single' implicitly separates it from the list_invoices sibling. It does not name that sibling explicitly, so the differentiation is inferred rather than stated.

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?

No explicit when-to-use or when-not-to-use guidance is given. Usage is only implied by the schema (invoice_id 'from list_invoices'), which routes the agent adequately but leaves the description itself silent on context and alternatives.

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