Skip to main content
Glama

mark_organization_cai_invoice_paid

Mark an open CAI invoice as paid out-of-band, updating its status for super-admins.

Instructions

Super-admin: mark an open CAI invoice as paid out-of-band

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the resource
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that the invoice is marked as paid, but does not describe side effects, reversibility, permission requirements beyond 'super-admin', or what happens to the invoice state or audit logs. The term 'out-of-band' is vague and not explained. This is insufficient for a mutation tool.

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?

The description is a single, compact sentence that efficiently conveys the action and role. Every word adds value, with no filler or repetition. It is appropriately concise for a simple one-parameter tool.

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?

Given the tool has no annotations, no output schema, and a single generic parameter, the description must do more to provide context. It states the action and condition ('open' invoice), but lacks information about prerequisites, consequences, or how this fits into the invoicing workflow. This is borderline inadequate for a semi-privileged operation.

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?

The schema describes the parameter 'id' as 'ID of the resource' with 100% coverage. The description does not add any parameter-specific meaning, such as clarifying that the id refers to an invoice. However, since schema coverage is high, the baseline score of 3 applies. The generic schema description does not provide much value beyond the name.

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 action: 'mark an open CAI invoice as paid out-of-band'. It uses a specific verb ('mark') and object ('invoice'), and the 'Super-admin:' prefix indicates a role restriction. This distinguishes it from sibling tools like add_organization_cai_budget or grant_organization_cai_budget, which are about budget, not payment.

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: it is for super-admins to mark an open invoice as paid outside the normal system. However, it does not explicitly state when to use this tool versus alternatives (e.g., when the invoice should not be marked, or if there is a standard payment flow). The role and 'open' condition provide some context, but there are no explicit exclusions or alternative tool references.

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/mediagraph-io/mediagraph-mcp'

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