Skip to main content
Glama

invoice_extract

Extract structured data from invoice images to identify vendor details, line items, totals, and dates. Returns results as JSON for automated processing.

Instructions

Extract structured fields from invoice or receipt images. Returns vendor, line items, totals, dates, and more as JSON. Cost: $0.03 USDC per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlNoPublic URL of invoice image
image_base64NoBase64-encoded invoice image
languageNoOutput language codeen
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it's a paid service ('Cost: $0.03 USDC per call'), returns structured JSON data, and processes images via URL or base64. However, it doesn't mention rate limits, error conditions, or processing time.

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?

Two concise sentences with zero waste: the first explains purpose and output, the second provides critical cost information. Every element earns its place and is front-loaded with essential information.

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 tool with no annotations and no output schema, the description does well by explaining what data is extracted ('vendor, line items, totals, dates, and more') and the cost implication. However, it could better describe the JSON structure or error scenarios given the absence of output 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%, so the schema already documents all three parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema, meeting the baseline for high schema coverage.

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 clearly states the specific action ('Extract structured fields'), the resource ('from invoice or receipt images'), and the output format ('as JSON'). It distinguishes itself from siblings by focusing on invoice/receipt data extraction rather than general document analysis or other tasks.

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?

The description implies usage context through 'invoice or receipt images' and mentions cost, but doesn't explicitly state when to use this tool versus alternatives like 'document_intelligence' or 'screenshot_data'. No guidance on prerequisites or exclusions is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ntriq-gh/ntriq-agentshop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server