Skip to main content
Glama

Pinpal Jobs

Mark an invoice paid

mark_paid

The invoice was paid, on this date (default today). Goes into the thread.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "document": "<document>"
    },
    "name": "mark_paid"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
noteNo
documentYesThe document's id (from list_documents), or its number once sent, like INV-0007.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation. The description adds one genuinely useful behavioral fact beyond that: the action 'goes into the thread', implying a visible event/message on the document timeline. It says nothing about reversibility, permission needs, or whether other status fields are changed.

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?

Very short and front-loaded: the action, the date default, and the side effect arrive in order. The phrasing is terse to the point of being clipped ('Goes into the thread' has an unclear referent), but no sentence is wasted.

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

Completeness3/5

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

For a 3-parameter mutation with no output schema and low schema coverage, the description covers the core semantics but leaves meaningful gaps: the purpose of 'note', whether marking paid is idempotent or reversible, and how this relates to set_status. Adequate but not complete.

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 only 33% — only 'document' is documented in the schema. The description compensates partly for 'date' by stating it defaults to today, but 'note' is left completely unexplained in both schema and description, and the accepted date format is only inferable from the regex pattern.

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?

The description states a specific action on a specific resource: recording that an invoice was paid, with an optional date and a note that it appears in the thread. It is clear enough to distinguish from siblings like add_comment or attach_file, though it does not address the nearby set_status tool, which could plausibly also express 'paid'.

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 guidance on when to use this versus alternatives such as set_status, nor any preconditions (e.g. whether the document must be sent first). The only usage-adjacent information is 'default today' for the date, which is parameter behavior rather than tool selection guidance.

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