Skip to main content
Glama

Post revaluation

post_revaluation

Post the foreign-currency revaluation for a date, as its preview shows it, once the owner has agreed. Bank accounts post to Bank Revaluation and roll forward; open invoices, bills and foreign journal lines post to Unrealised FX and are reversed the next day. Replaces that date's revaluation; refused while a later one stands.

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": {
      "date": "<date>"
    },
    "name": "post_revaluation"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesThe day to revalue at (yyyy-MM-dd); open documents' revaluation is reversed the next day
ratesNoBank account id -> closing rate override
documentratesNoCurrency code -> closing rate override for open invoices and bills, in foreign units per one base unit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing downstream accounting effects: bank accounts hit Bank Revaluation and roll forward, open invoices/bills/FX journal lines hit Unrealised FX and reverse the next day. It also states that existing revaluations for the date are replaced and that posting is blocked when a later revaluation exists — critical context for a mutation.

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 dense sentences, front-loaded with the action, then effects, then constraints. No filler wording; every clause carries operational information.

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 mutation with no output schema and only minimal annotations, the description covers effects, reversibility, replacement behavior and blocking conditions. The only residual gap is what the tool returns on success, which is not stated.

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 100%, so the baseline is 3, but the description adds real meaning: posting follows the preview's computed values unless overridden, which frames how the optional rates/documentrates parameters are used. It stops short of explaining the override direction for each rate map, which the schema handles anyway.

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 and resource ('Post the foreign-currency revaluation for a date') and implicitly scopes it against its preview counterpart with 'as its preview shows it'. The agent can distinguish posting from previewing without opening either 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 a clear precondition ('once the owner has agreed') and an explicit refusal condition ('refused while a later one stands'), plus the replacement semantics for the same date. It does not name the preview tool outright, but 'its preview shows it' points to it clearly enough.

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