Skip to main content
Glama

tascan_update_invoice

Idempotent

Update invoice status to paid, overdue, or cancelled and edit client details, notes, or due date. Manage invoices in TaScan.

Instructions

Update an invoice: mark it paid (records paid_at), overdue, cancelled, or edit client details / notes / due date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
statusNo
paid_atNoISO timestamp (default now) when status = paid
due_dateNo
invoice_idYes
client_nameNo
client_emailNo
client_phoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.12.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already mark the tool as readOnly=false, idempotent=true, and destructive=false, so the bar for additional behavioral disclosure is lower. The description adds useful context by noting that marking an invoice paid records paid_at, but it does not explain side effects of other status changes or what happens to existing values.

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?

The description is a single, efficient sentence with no filler. The core action and the main update categories are front-loaded, and every clause contributes useful information.

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 an 8-parameter update tool with no output schema and minimal parameter documentation, this description is too thin. It does not state what the tool returns, whether updates merge or overwrite, which fields are required, or how status transitions behave beyond paid_at.

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 only 13%, so the description must compensate for 7 undocumented parameters. It names the updatable fields at a high level and clarifies that paid_at relates to the paid status, but it does not explain the status enum values, required invoice_id semantics, or formatting expectations for due_date and client fields.

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?

The description names a specific verb ('update') and resource ('an invoice'), then enumerates the concrete outcomes: marking it paid, overdue, cancelled, or editing client details, notes, and due date. This clearly distinguishes it from siblings like tascan_create_invoice and tascan_list_invoices.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through the listed update scenarios but provides no explicit guidance on when to use this tool versus alternatives. It does not mention that tascan_create_invoice should be used for new invoices or that read-only tools should be used for inspection.

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