Skip to main content
Glama
xqzimgz

tax-law-mcp

by xqzimgz

get_law

Retrieve specific articles from Japanese tax laws using official e-Gov API. Supports law names and abbreviations like '所法' for '所得税法'.

Instructions

日本の法令から特定の条文を取得する。e-Gov法令API v2を使用。略称にも対応(所法→所得税法、措法→租税特別措置法 等)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemNo号番号(省略時は項全体)。例: 1, 2
formatNo出力形式。"markdown"=条文全文(デフォルト), "toc"=目次のみ(トークン節約)
articleNo条文番号(format="toc"の場合は省略可)。例: "33", "33の2", "57の3", "第33条"
law_nameYes法令名または略称。例: "所得税法", "法人税法", "租税特別措置法", "所法", "措法", "所得税法施行令", "所令"
paragraphNo項番号(省略時は条文全体)。例: 1, 2
Behavior3/5

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

Without annotations, the description adds the API source and abbreviation support, but does not disclose error behavior, auth requirements, or rate limits. It is adequate but not thorough.

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 two concise sentences with no redundant information. It front-loads the core purpose and includes a key feature, making it efficient.

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?

Given the parameter complexity and no output schema, the description provides essential context (API source, abbreviation support). The schema covers missing details, so overall completeness is good but could integrate hierarchy.

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 baseline is 3. The description adds value by explaining that law_name supports abbreviations, which is not evident from the schema alone.

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 it retrieves specific articles from Japanese laws using the e-Gov API, distinguishing it from search_law and sibling tools for other document types. It also mentions abbreviation support, adding specificity.

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?

The description implies usage when exact law name and article are known, but does not explicitly contrast with search_law or other siblings. No guidance on when not to use or prerequisites is provided.

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/xqzimgz/tax-law-mcp'

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