Skip to main content
Glama

Update posting

update_posting
Idempotent

Update a posting by id. Only the fields you pass are changed.

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": {
      "id": "<id>"
    },
    "name": "update_posting"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesposting id
amountNoamount
vat_codeNovat_code
cost_centerNocost_center
document_idNodocument_id
ledger_accountNoledger_account
posting_statusNoposting_status
posted_to_systemNoposted_to_system

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare a non-read-only, idempotent, non-destructive mutation, and the description usefully adds patch semantics on top of that (omitted fields are untouched). It does not say what happens to an unknown id, whether status transitions are validated, or what the response contains, so it adds only modest context beyond the 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?

Two short sentences, front-loaded with the target and the id, with no filler or redundancy. Every clause carries information the agent needs to invoke the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter patch tool with no output schema, the definition covers the identity and partial-update mechanics but says nothing about return values, failure behavior, or what the posting_status and posted_to_system fields control. That is adequate to call the tool but thin for a mutation with seven optional fields.

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 coverage is 100%, so the baseline is 3 here; the schema descriptions are merely repetitions of the property names ("amount": "amount"), which conveys little. The description compensates slightly by making clear that id targets the record and that all other fields are optional and only applied when supplied.

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?

"Update a posting by id" gives a specific verb plus resource and identifies the key parameter, which is enough to separate it from get_posting, create_posting, and the many other update_* siblings. It stops short of naming any alternative explicitly, so differentiation rests on the naming convention rather than on the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the sentence "Only the fields you pass are changed," which tells the agent this is a partial-update tool and spares it a read-modify-write round trip. There is no explicit statement of when to use this versus a sibling such as update_document or create_posting, and no prerequisites are given, so the guidance stays at the implied level.

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