Skip to main content
Glama
mcp-server-billy

mcp-server-billy

Delete draft bill (Billy)

billy_delete_draft_bill
DestructiveIdempotent

Deletes a draft bill only after verifying it has no approval; approved bills are rejected and cannot be removed.

Instructions

Delete a draft bill that was never approved. Reads it first and refuses unless it is a draft with no approval. An approved bill can never be deleted here. Off unless writes are enabled (BILLY_ENABLE_WRITES, or the gateway host policy enableWrites).

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": {
      "billId": "<billId>"
    },
    "name": "billy_delete_draft_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
billIdYesThe id of the draft bill.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the supplied annotations (destructive, idempotent, openWorld), the description discloses the internal read-before-write guard and the refusal condition, that approval is a permanent blocker, and that the tool is gated behind BILLY_ENABLE_WRITES or the gateway enableWrites host policy. That is exactly the kind of failure-mode and configuration context annotations cannot express.

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?

Three short sentences, front-loaded with the action and scope, then the guard behavior, then the enablement prerequisite. No redundant restatement of the tool name and nothing that could be trimmed without losing meaning.

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

Completeness4/5

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

For a single-parameter destructive operation with rich annotations, the description covers preconditions, refusal behavior, and the write-enablement gate. The only omission is what a successful or refused call returns, which is minor here since no output schema exists and the behavior is binary.

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?

Only one parameter (billId) and schema description coverage is 100%, so the schema already carries the semantics including the id pattern. The description adds nothing further about the identifier format or where to obtain a billId; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (delete) and a tightly scoped resource (a draft bill that was never approved), and the scope qualifier itself separates it from approve/create/get siblings. An agent can tell exactly which operation this performs without opening the schema.

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 use condition ('a draft bill that was never approved') and an exclusion ('An approved bill can never be deleted here'), which steers the agent away from attempting deletion on approved documents. It stops short of naming a sibling alternative (e.g. approval or listing tools) for the rejected case, so not a full 5.

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