Skip to main content
Glama

Octobooks

Mail the month end pack

month_end_pack
Destructive

Mail the month end pack of a month (round 660) to the addresses the owner chooses: the profit and loss, balance sheet and cash flow (PDF and Excel), the trial balance of the month, the aged receivables and aged payables as at the month end and the VAT position (PDF) where the company is VAT registered, as the web app's downloads give them. month: YYYY-MM. to: up to 10 email addresses (a list or separated by commas). message: optional text of the mail. The same as Send the pack on the month's close page. Books that are a copy or a demo send nothing. Each file alone: report with file=xlsx, csv or pdf. An address that got this month's pack within the hour is not mailed twice (already_sent_to); again=true sends it once more.

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": {
      "month": "<month>",
      "to": "<to>"
    },
    "name": "month_end_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
againNo
monthYes
companyNo
messageNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description adds genuinely new behaviour: demo/copy books send nothing, an address mailed within the hour is skipped (already_sent_to) unless again=true. It stops short of saying whether a sent mail can be recalled or what a partial failure looks like, but the edge-case coverage is well above the annotation baseline.

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?

Information is front-loaded with the resource first, then the parameter semantics, then the edge cases. It is dense and slightly run-on ("as the web app's downloads give them"), but nearly every clause carries operational 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 five-parameter, open-world, destructive mailing tool, the description covers content, recipients, dedupe, no-op cases, and the single-file alternative; the output schema handles return values. The one real hole is the company parameter, whose scoping effect on which books are mailed is never explained.

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 coverage is 0%, so the description must carry the burden, and it defines month as YYYY-MM, to as up to 10 addresses given as a list or comma-separated, message as optional mail text, and again as a one-off resend that bypasses the hourly dedupe. Only company is left unexplained, so most of the gap is closed.

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 ("Mail the month end pack of a month") and enumerates exactly what the pack contains (P&L, balance sheet, cash flow, trial balance, aged receivables/payables, VAT). That level of specificity clearly separates it from siblings like report or receivables that return single artefacts.

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 concrete context ("The same as Send the pack on the month's close page") and routes the agent away when only one file is wanted: "Each file alone: report with file=xlsx, csv or pdf." It lacks an explicit when-not-to-use statement, but the sibling routing covers the main confusion case.

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.

Resources