Skip to main content
Glama

get-invoice-pending-summary

Read-only

Get awaiting, future, and overdue invoice pending totals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
movementNo
companyIdYesCompany ID
acDocumentIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safe-read profile is covered. The description adds that results are bucketed into awaiting/future/overdue, but omits scope, aggregation basis, or any auth/company-context requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, appropriately sized. It is terse to the point of under-specification, but nothing is wasted.

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

Completeness2/5

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

With no output schema, three parameters at 33% coverage, and only safety annotations, the description should carry more. It never defines what the three buckets mean or how 'movement' and 'acDocumentIds' affect the result, leaving the agent under-equipped.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: companyId's 'Company ID' description is essentially a restatement, while 'movement' and 'acDocumentIds' are completely undocumented. The description does not compensate by explaining what these parameters filter, leaving two of three params opaque.

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+resource ('Get ... invoice pending totals') and enumerates the three categories it aggregates (awaiting, future, overdue). This separates it from get-overdue-invoices, which covers only the overdue bucket, though the description never names that 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 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 prerequisites, and no mention of alternatives such as get-overdue-invoices or get-aged-payables. The agent must infer usage purely from the tool name and the category list.

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