Skip to main content
Glama

Invoices

geg_invoices
Read-onlyIdempotent

Retrieves a newest-first list of school meal invoices with file name, date, and amount. Use it to identify an invoice before downloading it through the GEG Gastro CLI.

Instructions

Lists the invoices, newest first: file name, date and amount. The CLI downloads one with geg-gastro invoices download <name>.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "geg_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
invoicesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the sort order ('newest first') and explicitly states the download capability lives in the CLI, not here — a real behavioral constraint an agent would otherwise assume.

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 sentences, no filler. The purpose and ordering come first, and the CLI caveat follows as supporting context — well front-loaded and every clause carries 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?

With an output schema present, returned-field detail needn't be exhaustive, and annotations cover safety. The only soft spot is whether the list is complete or truncated/paginated; the description says 'Lists the invoices' without qualifying scope, but for a parameterless read tool this is a minor gap.

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?

Zero parameters, so the baseline is 4. The description reinforces this by showing the `<name>` argument belongs to the CLI invocation rather than to this tool, preventing an agent from inventing a name parameter.

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?

Names a specific verb and resource ('Lists the invoices') and adds scope detail: ordering ('newest first') and the fields returned ('file name, date and amount'). That combination distinguishes it from financial siblings like geg_ledger, though it never names a sibling explicitly.

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 statement of when to prefer this over geg_ledger or geg_orders, so sibling selection is left to inference from the resource name. It does give one conditional redirect: downloading a single invoice requires the CLI command `geg-gastro invoices download <name>`, which usefully marks a task this tool cannot do.

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