Skip to main content
Glama

Get an invoice from the inbox

get_inbox_item
Read-only

One invoice waiting in the inbox: who sent it, and with includeContent the file itself (PDF or image) so you can read the supplier, amounts, dates and property it belongs to.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe inbox item ID
includeContentNoAlso return the file (up to 5 MB) to read it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds that the returned file is a PDF or image and that its contents reveal supplier, amounts, dates and property, but says nothing about behavior when the ID is invalid or when content exceeds the size cap.

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 identifies the object first, then the optional content behavior. Nothing is redundant with the title or annotations, and no sentence is wasted.

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

Completeness5/5

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

For a two-parameter read-only fetch with no output schema, the description covers what is returned, both modes, and the practical purpose of the optional file. Annotations carry the safety profile, so no material gap remains.

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, but the description goes beyond the schema by explaining what includeContent is for in practice: reading the supplier, amounts, dates and property out of the attached file. That is genuine decision-relevant meaning the schema's 'to read it' only gestures at.

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?

The description states a specific action and resource: fetches one invoice item from the inbox, including who sent it and optionally the underlying file. It hints at its scope (a single item, versus the sibling list_invoice_inbox) but never names the sibling, so differentiation is implied rather than explicit.

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?

Usage is implied through the includeContent clause: omit it to see metadata, set it to read the file contents. There is no explicit statement about when to prefer this over list_invoice_inbox or get_invoice, and no mention of preconditions such as needing a valid inbox item ID.

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.