Skip to main content
Glama
evidai

πŸ‹ LemonCake β€” Billing & budgets for AI agents

check_tax

Read-onlyIdempotent

Checks Japanese tax compliance on a single transaction: validates T-number, determines withholding applicability, and computes net payable.

Instructions

Run a Japanese tax compliance check on a single transaction. No authentication required.

Performs three checks in one call:

  1. Validates the qualified-invoice registration number (T-number) against the NTA registry.

  2. Determines whether source-withholding (ζΊζ³‰εΎ΄εŽ) applies based on the service description.

  3. If withholding applies, computes the withholding amount and net payable.

Intended for Japanese corporations that pay AI / API services and need to file withholding correctly under the qualified-invoice (γ‚€γƒ³γƒœγ‚€γ‚ΉεˆΆεΊ¦) regime.

Returns: { invoice: { valid, name, ... }, withholding: { required, rate, amount, net } } Errors: invalid registrationNumber returns invoice.valid = false (not an exception).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grossAmountJpyYesGross transaction amount in JPY, tax inclusive.
registrationNumberYesQualified-invoice registration number issued by the Japanese NTA (e.g. "T1234567890123").
serviceDescriptionYesPlain-text description of what was purchased. Used to classify whether source-withholding applies.
Behavior5/5

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

The description adds significant context beyond annotations: it states no authentication required, details the three checks performed, and explains error handling (invalid registrationNumber returns invoice.valid = false, not an exception). This aligns with the readOnlyHint and idempotentHint.

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 well-structured with a bullet list of checks, clear sections, and no unnecessary words. It is concise yet informative.

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?

Despite having no output schema, the description provides a complete picture: it explains the three checks, the return object structure, error handling, and intended usage. For a complex tax compliance tool, this is highly complete.

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?

Schema coverage is 100%, so baseline is 3. However, the description adds detailed meaning: it explains how each parameter is used in the three checks and describes the return object structure (invoice and withholding fields), which goes beyond the schema.

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 tool's purpose: 'Run a Japanese tax compliance check on a single transaction.' It lists three specific checks and differentiates from sibling tools, as no other tax check tool exists among the siblings.

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 explicitly states the intended use case: 'Japanese corporations that pay AI / API services' and notes that no authentication is required. It provides context for when to use it, though it could be more explicit about when not to use it.

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/evidai/lemon-cake'

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