Skip to main content
Glama
yehyaabk

Tax MCP Agent

by yehyaabk

calculate_tax

Calculate VAT amount and total price for a given country and price, including the applicable VAT rate.

Instructions

Calculate the VAT amount and total price for a given country and price.

Args: country: Country name (case-insensitive). price: Price excluding VAT. Must be positive.

Returns: A dict with country, price, vat_rate, vat_amount, and total_price. Returns a dict with an "error" key if the country is unknown or input is invalid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceYes
countryYes
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's behavior: it calculates VAT and total price, returns a structured dict with specific keys, and returns an error dict for unknown countries or invalid input. This covers error handling and return format, which are key behavioral aspects.

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?

The description is concise and well-structured with clear sections for args and returns. It front-loads the primary purpose in the first sentence, and every subsequent line adds necessary detail without redundancy. The length is appropriate for the tool's complexity.

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?

Given the tool's simplicity, two parameters, and lack of output schema, the description is complete: it explains inputs, validation rules, return structure, and error behavior. There are no gaps that would leave an agent uncertain about how to invoke or interpret the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only lists parameter names and types (country: string, price: number) with no descriptions. The description adds critical semantics: country is case-insensitive, price is excluding VAT and must be positive. Since schema coverage is 0%, the description fully compensates and enriches both parameters.

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?

The description clearly states the function's purpose: 'Calculate the VAT amount and total price for a given country and price.' This is a specific verb+resource statement. Although there are no sibling tools to differentiate, the description unambiguously defines what the tool does without tautology.

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?

The description specifies the required inputs ('for a given country and price') and notes that the price must be positive. It does not explicitly mention alternative tools, but since there are no sibling tools, this is not a deficiency. The usage context is clear and sufficient for a calculation tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yehyaabk/mcp_tax_agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server