Skip to main content
Glama

Tommos

Mark an invoice as paid

mark_an_invoice_as_paid
Idempotent

Mark an invoice of a deal as paid, as the signed-in person: a payment that reached the company outside its invoice system. The mark stands whatever the invoice system says later, the deal's timeline names the person, and the job that gets the deal paid looks at it now. Refused for an invoice that was cancelled or never made.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idYesThe invoice's id (from read_the_money_of_a_deal)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world. The description adds genuine behavioral context beyond them: the mark persists regardless of later invoice-system state, the deal timeline records the signed-in person as the actor, and downstream automation ("the job that gets the deal paid") acts on it immediately. It is consistent with idempotentHint=true, though the phrasing is somewhat impressionistic.

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?

Purpose is front-loaded in the opening clause, and each subsequent sentence carries information (durability, attribution, side effect, refusal). The phrasing is somewhat stylized and indirect ("the job that gets the deal paid looks at it now"), which slightly obscures the payload but wastes little.

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

Completeness5/5

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

For a one-parameter mutation tool with no output schema, the definition supplies purpose, semantic nuance, side effects, attribution, and refusal conditions, while annotations cover the safety profile. Nothing an agent needs to call it correctly is missing.

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 coverage is 100% and the sole parameter's origin is documented ("from read_the_money_of_a_deal"). The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies when the schema does the heavy lifting.

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 and resource ("Mark an invoice of a deal as paid") and disambiguates the write from the read sibling by describing the underlying scenario (a payment that reached the company outside its invoice system). It never explicitly contrasts itself with siblings like read_the_money_of_a_deal or close_the_job_that_gets_a_deal_paid, so full sibling differentiation is absent.

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?

Gives a clear usage context (an out-of-band payment) and an explicit exclusion ("Refused for an invoice that was cancelled or never made"). It stops short of naming alternative tools for those excluded cases, so it is a clear context rather than a full when/when-not/alternatives routing.

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