Skip to main content
Glama

Engine Heart

legal.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": "legal.court_fee_calc"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it discloses the important traits: computation is entirely local, is governed by a named regulation, and follows fixed progressive brackets. The main gap is the response shape — it only hints that property cases '输出明细' without stating what fields come back.

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?

Purpose and regulation are front-loaded, then each mode is handled in sequence with no filler. The nested bracket schedules are long and would be easier to scan as a list, but they are substantive computation rules rather than padding.

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 local calculator with no annotations and no output schema, the definition covers inputs, mode routing, the governing legal basis, and the fee brackets in enough detail to predict results. The missing piece is a description of the returned structure (itemized breakdown fields), which matters given there is no output schema.

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; the description lifts it by resolving the ambiguous `amount` label into context-dependent meanings (标的额 for property, 执行金额 for execution) and by explaining that `property_amount` is optional and drives a 0.5% surcharge above 200k. Much of the remaining text is bracket-formula detail rather than parameter meaning, which keeps it from a 5.

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+resource (litigation-fee calculation) and immediately scopes it: '纯本地计算,依据《诉讼费用交纳办法》国务院令第481号'. It also splits the tool into three explicitly named modes (property/divorce/execution), so an agent knows exactly what the tool computes and which branch it is invoking.

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?

Each case_type is paired with the exact parameter to supply ('case_type=property ... 传 amount', '可选传 property_amount', 'case_type=execution ... 传 amount') and it even states the fallback when no amount is given ('不传金额时说明50-500元/件'). It offers clear context but no exclusions or preconditions (e.g. local vs. regional fee variations), so it falls short of a full when/when-not treatment.

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