Skip to main content
Glama
Beankeeper

Beankeeper

Official

project_draft_invoice

Drafts an invoice from exact approved time and expense source IDs and claims each selected item when issued to prevent reuse.

Instructions

Draft an invoice from exact source IDs. Sources are claimed when the invoice is issued.

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>",
      "invoice": "<invoice>"
    },
    "name": "project_draft_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYes
invoiceYesSelected approved obligations to include in a new invoice draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With only readOnlyHint=false declared, the description adds genuinely non-obvious behavior: drafting does not consume the sources, they are claimed only at issue time. That tells the agent a draft is a reversible reservation step rather than a one-shot commit. It still omits whether drafts are persisted, editable, or discardable, and what happens if the same sources are drafted twice.

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?

Two sentences, front-loaded with the core action and ending with the lifecycle caveat. Nothing is wasted and nothing is buried.

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?

This is a mutation tool with a deeply nested object schema and no output schema, so the description should cover what a successful draft yields (draft identifier, computed totals) and whether the draft is later issued via a separate call. The claiming-at-issue sentence covers the most important state fact, but the return value and follow-up path remain undocumented.

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 50% but the nested invoice schema is richly annotated (each source, account, date window, tax code, and due_date already carries a description). The description only reinforces the "exact source IDs" semantics the schema already states, adding no format, ID-discovery, or account-selection guidance beyond it.

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?

"Draft an invoice from exact source IDs" gives a specific verb (draft) and resource (invoice) plus the key input constraint (exact IDs, not a filter/criteria-based selection). It is clear enough to separate this from a cancellation or listing tool, but it never names or contrasts with a sibling such as project_cancel_invoice or project_unbilled.

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?

Usage is only implied: the agent must already hold exact source IDs, which tells it this is not the tool for discovering billable items. There is no explicit "use this when / not when" statement, no prerequisite that sources be approved and unbilled, and no pointer to the sibling that lists eligible sources.

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