Skip to main content
Glama

Court Fee Calc

court_fee_calc

诉讼费计算器(纯本地计算,依据《诉讼费用交纳办法》国务院令第481号)。用 case_type 区分:case_type=property 财产案件受理费:传 amount(标的额,元),按分段累计输出明细(≤1万每件50元;1-10万部分2.5%;10-20万2%;20-50万1.5%;50-100万1%;100-200万0.9%;200-500万0.8%;500-1000万0.7%;1000-2000万0.6%;超2000万0.5%);case_type=divorce 离婚案件:基础受理费50-300元/件,可选传 property_amount(财产分割总额,元),超20万元部分按0.5%加收;case_type=execution 申请执行费:传 amount(执行金额,元),分段累计(≤1万每件50元;1-50万1.5%;50-500万1%;500-1000万0.5%;超1000万0.1%),不传金额时说明50-500元/件。

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": {
      "case_type": "<case_type>"
    },
    "name": "court_fee_calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNo标的额/执行金额(元)
case_typeYesproperty=财产案件;divorce=离婚案件;execution=申请执行
property_amountNo(divorce)离婚财产分割总额(元)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does disclose the important trait that this is pure local computation with no external side effects, plus the regulatory source of the numbers. It stops short of stating determinism guarantees, rounding rules, or what happens when amount is omitted for property cases, which is the one mode whose missing-amount behavior is undefined.

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?

Front-loaded with the tool's nature and legal basis, then organized mode by mode. The long bracket enumerations are verbose but each is functional, since they let an agent sanity-check output; the definition is dense rather than padded.

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 three-parameter calculator with an output schema, the description covers all modes, the optional parameters, and the execution no-amount edge case, so an agent can invoke it correctly. The residual gaps are the unexplained 50-300 range for divorce and the unaddressed property-case-without-amount scenario.

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, but the description adds real meaning: amount is reinterpreted as 标的额 vs 执行金额 depending on case_type, property_amount is scoped to divorce only, and the bracket tables let the agent predict what each value produces. The only gap is that the divorce base fee is a 50-300 range with no parameter explaining how the specific figure is chosen.

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 gives a specific verb and resource (litigation fee calculation) plus the legal basis (State Council Order 481), and immediately splits the tool into three named modes (property/divorce/execution) with distinct formulas. An agent can tell exactly what this does and which sibling domain (labor_calc, law_search) it is not.

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?

Usage is routed clearly by case_type: pass amount for property and execution, optionally property_amount for divorce, and the no-amount fallback for execution is stated explicitly. What is missing is any explicit exclusion or hand-off to an alternative tool, so an agent must infer that other calculators cover other fee domains.

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