Skip to main content
Glama

Octobooks

Add, change, renew or archive a renewal

renewal_set
Destructive

Keep the company's renewals register (round 833). action=add with item and authority, and reference, due (YYYY-MM-DD; left out, the renewal stands as date to confirm), every_months, responsible, documents (document numbers), source, note. action=edit with renewal_key and the fields that change (an empty text clears one). action=renew with renewal_key and next_due (left out: the due date moved on by every_months). action=archive or restore with renewal_key. Each change is a new line of the renewal; the earlier lines stay. Nothing is paid or filed with an authority.

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": {
      "action": "<action>"
    },
    "name": "renewal_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNo
itemNo
noteNo
actionYes
sourceNo
companyNo
next_dueNo
authorityNo
documentsNo
referenceNo
renewal_keyNo
responsibleNo
every_monthsNo

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 non-idempotency; the description adds genuinely non-obvious behavior — each change creates a new line while earlier lines persist (an append-only audit trail), an empty text clears a field, and nothing is paid or filed with an authority. Useful beyond the annotations, though it omits permission/auth needs and the 'round 833' fragment is unexplained noise.

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?

Dense but front-loaded: purpose first, then a compact action-by-action specification with parenthetical defaults. Every clause carries operational meaning except the stray 'round 833' reference.

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 13-parameter mutation tool this covers the working semantics, and an output schema exists so return values needn't be described. Missing pieces are minor: the company parameter and explicit enumeration of valid action strings.

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?

With 0% schema coverage across 13 parameters, the description carries the full burden and mostly succeeds: it explains item, authority, reference, due (YYYY-MM-DD, and what omission means), every_months, responsible, documents as document numbers, source, note, renewal_key and next_due defaults. The 'company' parameter and the allowed action values are never explicitly documented, leaving a small gap.

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?

Names the resource ('renewals register') and the operations performed on it, and the opening 'Keep...' plus per-action breakdown makes clear this is the write/maintenance tool, distinct from a read-only 'renewals' sibling. An agent can tell what it does without opening the schema.

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 explicit conditional guidance keyed on the action parameter: add needs item/authority, edit needs renewal_key plus changed fields, renew needs next_due, archive/restore need only renewal_key. It falls short of naming an alternative tool or when not to use it, but the action-mode routing is strong.

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