Skip to main content
Glama

YESbusiness

VAT codes

list_vat_codes
Read-onlyIdempotent

The company's USABLE VAT codes: id, code (what a booking leg carries, e.g. 'V81'), name, rate as a FRACTION (0.081 is 8.1%), kind ('output' = VAT on sales, 'input' = deductible VAT on purchases), entered_net (true = a booking's amount is entered WITHOUT the VAT, which is added on top; false = the amount includes the VAT), vat_only, and the validity dates — codes repeat across rate changes, so pick the one valid on the booking date. Read it before putting a VAT code on a booking. A company not registered for VAT has none to use.

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": {
      "company_id": "<company_id>"
    },
    "name": "list_vat_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
company_idYesThe company to work on — one of list_my_companies' company_id values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context the annotations cannot convey: only USABLE codes are returned, codes repeat across rate changes so the caller must match on booking date, and an empty result is expected for non-VAT companies. The rate-as-fraction and entered_net semantics are arguably field documentation rather than behavior, which keeps it from a 5.

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 and front-loaded: the resource comes first, then field semantics, then the usage instruction and the edge case. The long parenthetical field glosses make it slightly run-on, but every clause carries information an agent needs to interpret the response correctly.

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

Completeness5/5

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

There is no output schema, and the description compensates by documenting every returned field, including the non-obvious ones (rate as a fraction, entered_net, kind, duplicate codes across rate changes). For a one-parameter read tool this is sufficient for an agent to call it and interpret the result without follow-up.

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?

There is a single parameter, company_id, and schema description coverage is 100% – the schema already explains it is a list_my_companies value. The description adds no further meaning to the parameter itself, so the baseline of 3 applies.

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 opens with a specific verb-resource pairing ('The company's USABLE VAT codes') and then enumerates exactly what each returned record contains (id, code, name, rate, kind, entered_net, vat_only, validity dates). It implicitly separates itself from list_vat_periods and get_vat_statement by being about the codes themselves rather than periods or statements, though it never names a sibling explicitly.

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?

'Read it before putting a VAT code on a booking' gives a concrete trigger, and the closing note that a non-VAT-registered company has no codes to use is a useful exclusion that prevents a pointless call. There is no explicit statement of when to prefer a different tool, so it stops short of a 5.

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