Skip to main content
Glama
Beankeeper

Beankeeper

Official

project_cancel_invoice

Cancel an unissued project invoice draft by specifying the company and invoice ID, preventing it from being issued.

Instructions

Cancel an unissued project invoice draft.

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": {
      "company": "<company>",
      "id": "<id>"
    },
    "name": "project_cancel_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA sales invoice or vendor bill ID.
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations supply only readOnlyHint=false, so the description carries most of the behavioral burden. It adds the useful precondition that the invoice must be unissued, but says nothing about reversibility, whether the draft is deleted or merely voided, required permissions, or what failure looks like when the invoice is already issued.

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 seven-word sentence with no filler and the key constraint front-loaded. It is efficient, though the terseness comes at some cost to completeness rather than being purely optimal.

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?

For a mutation tool with minimal annotations, no output schema, and one of two parameters undocumented, the definition is thin. An agent still lacks information on irreversibility, error conditions, and the company parameter's role.

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 description coverage is 50%: the id parameter is documented but company only has a pattern constraint. The description adds no parameter meaning at all, leaving the agent to infer what company scopes and how the two combine to identify the invoice.

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?

"Cancel an unissued project invoice draft" gives a specific verb (cancel) and a tightly scoped resource (unissued project invoice draft). The qualifier "unissued" distinguishes this from a general invoice-void action, though it does not explicitly name the sibling that creates drafts (project_draft_invoice).

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 word "unissued" implicitly tells the agent this applies only to drafts not yet issued, which is genuine usage context. However, there is no explicit statement of when to choose this over project_draft_invoice or any other invoice lifecycle tool, and no mention of what to do if the invoice has already been issued.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools