Skip to main content
Glama

Octobooks

Ask to close a fiscal year

year_close_request
Destructive

Close a fiscal year (like FY2025). Its release is asked for at once: under My AI decides with the owner's switch for the AI's close of the year on (the default) it is closed now, against the checklist as it stands; otherwise it waits on the approval page. The directors still approve the annual accounts themselves. The close locks every period of the year and is final. Refused while a step of the year end is open, a check fails, or the close already waits. withdraw=true with pending_action_id withdraws a request of this connection. The year end report lists the warnings that stand before the year is closed.

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": {
      "fiscal_year": "<fiscal_year>",
      "reason": "<reason>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "year_close_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
companyNo
withdrawNo
fiscal_yearYes
idempotency_keyYes
pending_action_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Adds substantive behavior beyond the destructive/readOnly/idempotent annotations: that the close locks every period of the year and is final, that it runs against the checklist as it stands, that directors still approve the annual accounts separately, and the three conditions under which it is refused. This is exactly the kind of consequence-of-call information an agent needs before invoking a destructive tool.

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

Conciseness3/5

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

Purpose is front-loaded, but the second sentence is a convoluted run-on ("under My AI decides with the owner's switch for the AI's close of the year on (the default)") that is hard to parse, and the final sentence about the year end report is loosely attached. Information density is high but the syntax costs readability.

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 an output schema present, return values needn't be described, and the description covers the destructive consequence, the refusal cases, and the withdraw mode for a 6-parameter tool. The main gap is the unaddressed required idempotency_key and reason parameters, which an agent must guess at.

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 description coverage is 0%, so the description must carry the load. It explains withdraw and pending_action_id meaningfully and gives a fiscal_year example, but leaves reason, company, and the required idempotency_key completely unexplained despite idempotentHint being false.

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 and resource ("Close a fiscal year (like FY2025)") with an example format for the argument. It does not explicitly distinguish itself from near-named siblings such as close_request, year_end_propose, or month_close, though the year-scoped framing is clear enough on its own.

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 real when-to-use context: the two execution paths (immediate close when the owner's AI switch is on, otherwise waiting on the approval page), the refusal conditions, and the explicit withdraw=true + pending_action_id path. It stops short of naming a sibling tool as the alternative when the request is refused or when a proposal flow is preferred.

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