Skip to main content
Glama
Beankeeper

Beankeeper

Official

document_draft

Save an invoice or bill draft for a company by supplying complete terms with counterparty, control account, and priced lines before approval.

Instructions

Save an invoice or bill draft for this company. Supply a complete terms object with a counterparty, control account and priced lines.

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>",
      "terms": "<terms>"
    },
    "name": "document_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
termsYesComplete draft revision eligible for approval.
companyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=false already tells the agent this is a write, and the description is consistent with that by saying it saves a draft. It adds that the whole terms object must be complete, but says nothing about what happens on a duplicate number, whether an existing draft is replaced, or what the tool returns.

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, zero waste: the action and scope are front-loaded, and the payload requirement follows. Nothing is repeated or padded.

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 write tool with a nested schema, no output schema, and only half the parameters described, the definition is thin on failure modes and lifecycle state (editable vs approved vs posted). It covers the minimum needed to attempt a call but not to call it confidently.

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% and the two top-level params (company, terms) are documented via a deeply nested schema. The description restates the key required subfields (counterparty, control account, priced lines) but adds no format, constraint, or default semantics beyond the schema. Baseline 3 is appropriate given the schema does the detailed work.

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?

"Save an invoice or bill draft" gives a specific verb and resource, and the schema's kind enum confirms both directions. It doesn't name a distinguishing sibling such as document_issue or project_draft_invoice, so an agent must infer that this tool creates an editable draft rather than posting it.

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 "draft" implies this is the pre-issuance step, but the description never states when to choose this over document_issue, document_amend, or project_draft_invoice, nor any prerequisites. Usage is implied by the wording rather than explained.

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