Skip to main content
Glama

Get invoice

get_invoice
Read-onlyIdempotent

Returns the registration invoice of one of the user's LEIs, including amount, currency and whether it is paid.

Input Schema

NameRequiredDescriptionDefault
orderIdYesThe order id of the invoice, which is the id (GUID) of the LEI from list_my_leis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context by enumerating the returned content (amount, currency, paid flag), which matters because there is no output schema. It stops short of noting auth requirements or error behavior, so not a 5.

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 that names the resource first and then the payload. Nothing is padded or redundant.

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?

For a one-parameter read tool with full schema coverage and no output schema, the description covers the essentials and even compensates for the missing output schema by naming the returned fields. It is only incomplete in not relating itself to the list/download invoice siblings.

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 schema itself explains that orderId is the LEI GUID obtainable from list_my_leis. The description adds no parameter detail beyond that, so the baseline of 3 is appropriate.

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 and resource: returns the registration invoice for one of the user's LEIs. The 'one of the user's LEIs' scoping and the listed fields (amount, currency, paid status) make the target unambiguous. It does not explicitly distinguish itself from siblings like list_my_invoices or download_invoice, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites, and no routing to alternatives. An agent holding an orderId would probably reach for this, but nothing tells it to prefer this over list_my_invoices for a single invoice or to use download_invoice when it needs the PDF.

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