Skip to main content
Glama

Quote a filing fee

quote_filing_fee
Read-onlyIdempotent

Return the current People's Court filing fee for a claim of the given amount, so the person can see what filing would cost before starting one.

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": {
      "claimAmountMinorUnits": "<claimAmountMinorUnits>"
    },
    "name": "quote_filing_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseTrackNoOptional person-selected case track; omission uses ai_standard with human appeal retained.
declaratoryOnlyNoTrue when the relief sought is declaratory only.
claimAmountMinorUnitsYesAmount in dispute in US cents, as an exact integer string.

Output Schema

NameRequiredDescriptionDefault
toolYes
factsYes
noticeYes
requestIdNo
retrievedAtYes
authoritativeYes
schemaVersionYes
partyAuthoredFieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds that the fee returned is the 'current' one, hinting that quotes may change, but it says nothing about fee-schedule versioning (a get_rules_version sibling exists) or how case track influences the quote.

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?

A single sentence that front-loads what is returned and follows with the user-facing rationale. Every clause earns its place and nothing is redundant.

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?

An output schema exists, so the return shape need not be explained, and for a simple read-only quote tool the purpose, timing, and amount input are covered. The only mild gap is any indication that the fee depends on rules version or case track, which an agent pricing a filing might want.

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%, so caseTrack, declaratoryOnly, and claimAmountMinorUnits are already documented in the schema, including the ai_standard default and the minor-units integer-string format. The description only echoes the claim-amount parameter and adds no semantics beyond the schema, which is the baseline-3 case.

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 (Return/Quote), resource (People's Court filing fee), and the scope condition (claim of the given amount). It is clearly separable from siblings like prepare_filing, confirm_filing, and get_filing_status without opening any schema.

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?

The clause 'before starting one' establishes the pre-filing informational context in which this tool applies, which is clear guidance on when to reach for it. It does not name an alternative tool or state exclusions, so it stops short of the explicit when/when-not routing that earns a 5.

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