Skip to main content
Glama

Oblio MCP by usefulapi

Record an invoice payment (collect)

oblio_collect_invoice
Destructive

Record that an issued invoice was paid (receipt, bank order, card...). Changes the invoice's paid status and is not reversible from the API. Needs confirm: true and the user's approval of the amount. Not retried. PUT /api/docs/invoice/collect.

Input Schema

NameRequiredDescriptionDefault
cifYesCIF of YOUR company in Oblio (from oblio_list_companies), for example RO37311090.
numberYesDocument number within the series, digits only (0055 and 55 are the same).
collectYes
confirmNoMust be true. Set it only after the user has confirmed this exact action in this conversation.
series_nameYesDocument series name (from oblio_list_series), for example FCT.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real context: what actually changes (the invoice's paid status), that the change 'is not reversible from the API', and that a confirm:true gate plus explicit user approval of the amount is required. It does not cover failure behavior or permission requirements, so it stops short of 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?

Three short sentences, front-loaded with the action and its effect, followed by prerequisites and the endpoint. Nothing is padding and no sentence merely restates the tool name.

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 destructive, non-idempotent mutation with a nested collect object and no output schema, the description covers effect, irreversibility, and the confirmation requirement. It leaves some gaps (permission/auth needs, what a failed or partial collection returns), but nothing that would cause an agent to invoke it incorrectly.

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 80%, so the baseline is 3. The description reiterates the confirm:true gate and parenthetically lists payment channels (receipt, bank order, card) that map to the collect.type enum, but it adds no syntax, defaults, or constraints beyond what the schema already documents.

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?

It names a specific verb and resource ('Record that an issued invoice was paid') and even pins the endpoint (PUT /api/docs/invoice/collect). That is clearly distinct from sibling actions like oblio_issue_invoice, oblio_cancel_document, and oblio_restore_document, so an agent can select it without opening the schema.

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

Usage Guidelines4/5

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

It states hard preconditions for use: 'Needs confirm: true and the user's approval of the amount' and 'Not retried'. That is clear context for when to call it, but it never names an alternative or a when-not condition (e.g., partial vs. full collection, or how it differs from cancel/restore), so routing is implied rather than explicit.

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.