Skip to main content
Glama

invoices_repeat

Destructive

Make one of Mojobase's own invoices repeat (invoice: its number, INV-0007, or id, mb_7), change how, or stop it. every: week, 2weeks, month, 3months or year, or "" to stop. next: YYYY-MM-DD, today or later, when the next is made (one period after its issue day unless given). until: the last day one may be made, "" for no end. times: how many invoices in all, this one counted (2 or more), 0 for no end. On each day Invoices makes a copy of the last one as a draft with its next number: nothing is sent, a person presses Send. In Activity with Undo.

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": {
      "invoice": "<invoice>",
      "every": "<every>",
      "author": "<author>"
    },
    "name": "invoices_repeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
nextNo
everyYes
modelNo
timesNo
untilNo
authorYes
invoiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true and readOnlyHint=false, but the description explains the actual effect: on each due day a copy of the last invoice is created as a draft with the next number, nothing is sent, and a person presses Send. It also states the change is recorded in Activity with Undo, which meaningfully tempers the destructive hint. This is exactly the behavioral context annotations cannot convey.

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?

The purpose leads, then a compact parameter-by-parameter block, then the runtime behavior. Nearly every clause carries information, including the useful stop-by-empty-string rule. It reads as a dense run-on with minimal formatting, but there is no filler to cut.

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 seven-parameter mutation tool with no output schema and no descriptive annotations, the definition covers the recurrence model, all the date-counting defaults, and the side effects on the invoice stream. The only real gap is the undocumented 'model' and 'author' parameters, which an agent would have to guess at. Return value information is not required since there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter burden, and it does for five of seven: it gives concrete every values (week, 2weeks, month, 3months, year, "" to stop), the next date format and default rule, until's meaning and empty-value behavior, times' counting rule (inclusive, 2+, 0 for no end), and how to identify the invoice. 'model' and 'author' are left undocumented in both the schema and the description.

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?

The description opens with a specific verb-plus-resource statement: it makes one of Mojobase's own invoices repeat, changes the recurrence, or stops it, and identifies the target by number (INV-0007) or id (mb_7). That is far more concrete than the bare tool name. It stops short of naming a sibling, so an agent must infer that this is the recurrence-setup tool rather than invoices_get or invoices_list.

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 description makes clear that a single tool covers three modes (start repeating, change how, stop), which is genuine guidance on how to use it. However, it never states when to choose this over other invoice tools, nor any prerequisites such as needing an existing invoice to attach the recurrence to. The guidance is implied through the parameter semantics rather than stated explicitly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.