Skip to main content
Glama

Update billing details

update_billing_details
DestructiveIdempotent

Update the account's billing address and/or company details used on tax documents - send only the fields you want to change, the rest stays as-is (address, when sent, must be complete: street, city and zip together). dic (VAT id) is checked live against the EU VIES registry when it changes: a verified foreign EU dic switches the account to the reverse-charge regime (no Czech VAT on future credit top-ups) - this genuinely CHANGES THE PRICE the customer pays, so confirm the dic with the user before sending it. Sending dic as an empty string clears the stored VAT id and its verification. billingCountry sets the country shown on tax documents. Same data as PUT /v1/account/billing (response schema in /openapi.json).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_billing_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
dicNoVAT id: a Czech one (CZ plus 8-10 digits) or a foreign EU one (country code plus number), verified live in VIES when it changes - see the tool description for the reverse-charge price effect. An empty string clears it and its verification. Omit to leave it unchanged.
icoNoCzech company id (ICO), 8 digits with a valid check digit. Omit to leave it unchanged.
addressNoBilling address; when sent it replaces street, city and zip together (a partial address is rejected). Omit to leave the address unchanged.
companyNoCompany name for tax documents, up to 120 characters. Omit to leave it unchanged.
billingCountryNoCountry printed on tax documents as a two-letter code of an EU, EEA, UK or Swiss country (for example AT, DE, NL, PL). Omit to leave it unchanged; an empty string clears it. No country is derived from the account's market. The code CZ prints no country.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the description discloses the consequential behavior: dic is verified live against EU VIES, a verified foreign EU dic switches the account to reverse-charge and changes the price the customer pays, and an empty dic string clears the stored VAT id and its verification. This tells the agent exactly what is at risk before a destructive write.

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?

The price-changing dic warning is front-loaded and well emphasized in caps, which is the highest-value information. The single dense sentence with nested dashes and parentheses is harder to scan than it needs to be, but little is actually wasted.

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 5-parameter, all-optional mutation with a nested address object, the description covers partial-update semantics, clearing behavior, validation failure modes, and the price side effect. The one gap is deferring the response shape to /openapi.json rather than summarizing it, in the absence of an output schema.

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 a baseline of 3 applies, but the description adds real meaning beyond the schema: the live VIES check and reverse-charge price effect for dic, and the country printed on tax documents for billingCountry. The omit-to-keep and empty-string-clears semantics are reinforced rather than newly introduced.

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?

The description names a specific verb and resource: updating the billing address and company details used on tax documents, and ties it to PUT /v1/account/billing. It does not explicitly distinguish this from the sibling update_account, so an agent must infer the boundary between account profile data and billing/tax data.

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?

It gives clear operating guidance: send only the fields to change, omitted fields stay as-is, and an address must be complete (street, city, zip) to be accepted. It also instructs confirming the dic with the user before sending. It stops short of naming an alternative tool for non-billing account changes.

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.