Skip to main content
Glama

calculate jp court fee

calculate_jp_court_fee
Read-onlyIdempotent

Japan court fee (収入印紙) under 民事訴訟費用等に関する法律 別表第一: 訴え, 控訴 (1.5x), 上告 (2x), 支払督促 (1/2), 民事調停・労働審判. Old-law table; for cases first filed on/after 2026-05-21 the new-law paper/electronic amounts are flagged, not computed. General information only, not legal advice, as of 2026-11-22; court fees only.

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": "calculate_jp_court_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoProcedure
valueNo訴訟の目的の価額 (yen)
firstFiledNoDate the original claim was filed (YYYY-MM-DD)
nonPropertyNoNon-property claim (counts as 1.6m yen)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavior: the new-law paper/electronic amounts are flagged but not computed, so results for post-2026-05-21 filings are partial by design. It also pins an as-of date for the fee table. It does not state rounding or whether the response includes a breakdown.

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?

A single compact sentence front-loads the resource and statute, then packs the procedure list, the old-law/new-law caveat, and the disclaimer without filler. Density is high but each clause carries information; the untranslated Japanese procedure labels (訴え, 控訴, 上告, 支払督促) add parsing cost for non-Japanese-reading agents even though the enum values are English.

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 four-parameter, fully documented, read-only calculator with no output schema, the definition covers legal basis, supported procedures, the major edge case, and the disclaimer. The main remaining gap is what the result contains (amount only vs. breakdown), which matters because no output schema exists to answer it.

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 the baseline is 3, and the description earns an increment by attaching concrete meaning to the kind values not present in the schema: appeal at 1.5x, jokoku at 2x, shiharai at 1/2. It does not explain how value and nonProperty interact when both are supplied, which is the one real semantic ambiguity.

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 the exact resource (Japan court fee / 収入印紙) and the governing fee table (民事訴訟費用等に関する法律 別表第一), then enumerates the covered procedure types with their multipliers, which clearly separates it from the German sibling calculate_de_court_fee by jurisdiction and legal basis. It lacks an explicit leading verb such as 'computes', leaving the action to be inferred from the title and the multiplier notation.

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?

Scope is set explicitly with 'court fees only' and 'General information only, not legal advice', which tells an agent not to stretch it to penalties, deposits, or deadline questions. It also gives a concrete applicability rule: cases first filed on/after 2026-05-21 fall under the new law and are flagged rather than computed. No sibling tool is named as an alternative.

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.