Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Invalidate Journal

invalidate_journal
Idempotent

Reverse a confirmed journal entry to return it to unconfirmed status for editing or deletion; record the reason and replacement to keep corrections traceable.

Instructions

Invalidate (reverse) a confirmed journal entry. Returns it to unconfirmed status for editing or deletion. RPS § 10: corrections must stay traceable — tell the user to record why the entry was reversed and what replaces it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesObject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.18.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true, and openWorld=false. The description adds the state transition back to unconfirmed and a regulatory traceability requirement (RPS § 10) that is not captured by annotations.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action and effect. The compliance sentence is a useful instruction rather than padding, and every sentence earns its place.

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 one-parameter mutation tool with full annotations and no output schema, this covers the effect and audit obligation well. It could still mention the confirmation prerequisite or expected response more explicitly.

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 100%, and the single id parameter is documented only as 'Object ID'. The description implies the ID refers to a journal entry, but adds no format or syntax detail beyond the schema, so the baseline 3 is appropriate.

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 the specific verb (invalidate/reverse) and resource (a confirmed journal entry), and the stated effect of returning it to unconfirmed status distinguishes it from both delete_journal and confirm_journal.

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 clear context: use on a confirmed journal entry to reverse it for editing or deletion. It does not name an alternative tool or state explicit when-not conditions, so it stops short of the top score.

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