Skip to main content
Glama
律师教你怎么做

律师教你怎么做

Official

list_calculators

Retrieve all 56 legal calculators or filter by keyword to find fields and slugs needed before running calculations for litigation fees, damages, support, and more.

Instructions

列出本站 56 个法律计算器(诉讼费、赔偿金、违约金、抚养费、工伤、刑期折抵等),含每个计算器需要的字段。★要算数先调本工具拿 slug,再调 run_calculator。

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

Input Schema

NameRequiredDescriptionDefault
qNo按名称关键词过滤(如「诉讼费」「抚养费」「工伤」)。不填则返回全部。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses the corpus size (56), the return content (each calculator's required fields), and the slug dependency for run_calculator, which is genuinely useful behavioral context. It does not mention pagination, output ordering, or auth, so it falls short of fully self-describing.

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?

One dense sentence for the inventory plus a starred routing instruction. The critical workflow guidance is front-loaded and no sentence is wasted.

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?

With no output schema, the description still tells the agent what the listing contains and why it matters (to get slugs for run_calculator), which covers the essential call path. It omits details such as result structure/pagination for a 56-item list, a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single q parameter, so the schema already documents the keyword filter and the return-all default. The description adds no filtering syntax or matching behavior beyond that, making the baseline 3 appropriate.

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?

States a specific verb and resource (list the site's 56 legal calculators) and enumerates the covered categories (litigation fees, compensation, penalties, child support, work injury, sentence credit). It also distinguishes itself from the sibling run_calculator by naming the slug handoff, so an agent can tell the two apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes the workflow: to perform a calculation, call this tool first to obtain the slug, then call run_calculator. This names the alternative tool and the condition that selects it, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.