Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

invoices_overdue_reminders

Idempotent

Turn automatic overdue reminders off or back on for a single issued invoice, so you can control payment follow-ups per invoice without changing company-wide settings.

Instructions

Turn the company's automatic overdue reminders off or back on for one invoice. Calls POST /api/v1/invoices/{uuid}/overdue-reminders and returns the invoice, with overdueRemindersDisabled, lastOverdueReminderDays and lastOverdueReminderAt. Works on issued invoices. Requires invoice edit permission. The reminders themselves are configured per company with companies_update (overdueRemindersEnabled, overdueReminderSteps); a whole client is excluded with clients_update (overdueRemindersDisabled). Sent reminders appear in invoices_email_history with category payment_reminder.

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": {
      "uuid": "<uuid>",
      "enabled": "<enabled>"
    },
    "name": "invoices_overdue_reminders"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesInvoice UUID
enabledYesfalse = this invoice gets no automatic overdue reminders; true = it gets them again
companyIdNoCompany UUID override (uses active company if not set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.60

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare write/idempotent/non-destructive; the description adds the endpoint, the required invoice edit permission, the issued-invoice precondition, and the exact fields returned (overdueRemindersDisabled, lastOverdueReminderDays, lastOverdueReminderAt). It also discloses the downstream side effect that sent reminders surface in email history under category payment_reminder.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Action and endpoint are front-loaded, and each subsequent sentence carries distinct information (precondition, permission, related tools, output fields). It is dense but every clause earns its place; only the reminder-configuration sentence is lengthy.

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 compensates by enumerating the returned fields, and it covers permission and precondition requirements for a mutation tool. It stops short of stating error behavior or whether the change is logged, but the operation is a simple reversible toggle.

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%, so the schema already defines uuid, enabled and companyId with precise semantics (enabled=false suppresses reminders, true restores them). The description only reinforces the single-invoice scoping and does not add format or default details beyond the schema, so the 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+resource+scope: toggling automatic overdue reminders off/on for a single invoice, and names the exact endpoint POST /api/v1/invoices/{uuid}/overdue-reminders. It clearly separates itself from the company-wide and client-wide reminder tools named later.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use this for one invoice, companies_update for per-company reminder configuration, clients_update to exclude a whole client, and invoices_email_history to inspect what was actually sent. It also states the precondition (works on issued invoices) that gates valid use.

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