Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

proforma_invoices_bulk_delete

DestructiveIdempotent

Deletes up to 100 draft proforma invoices in one batch by UUID and returns the number deleted plus any errors, so you can clean up test or obsolete drafts in a single call.

Instructions

Delete multiple proforma invoices in batch. Only draft proformas can be deleted. Returns count of deleted and any errors.

Input Schema

NameRequiredDescriptionDefault
idsYesArray of proforma invoice UUIDs to delete (1-100)
companyIdNoCompany UUID (overrides configured default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value beyond that: the draft-only precondition and the return shape ('count of deleted and any errors'), which lets the agent anticipate partial failures in a batch.

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, zero filler: purpose first, eligibility constraint second, return behavior third. Every sentence carries information an agent needs.

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?

With no output schema, the description does the minimum needed by stating the return payload (deleted count plus errors). Combined with the draft-only restriction and full schema coverage on both parameters, an agent has what it needs to call this correctly; it could only be improved with explicit routing to the single-delete or cancel alternatives.

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 100%: both ids (1-100 UUIDs) and companyId (overrides configured default) are fully documented in the schema. The description adds nothing parameter-specific, and the batch limit of 100 is only visible in the schema, so baseline 3 applies.

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?

States a specific verb (delete), resource (proforma invoices), and scope (multiple, in batch), which distinguishes it from the singular sibling proforma_invoices_delete. It does not explicitly name that sibling, but 'bulk/batch' makes the distinction clear enough to select correctly.

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?

Adds one important eligibility rule — only draft proformas can be deleted — which tells the agent when this tool is applicable. It gives no guidance on what to do with non-draft proformas (e.g., proforma_invoices_cancel) or on using the single-delete tool for one item, so alternatives are left implicit.

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