Skip to main content
Glama

calculate cn late payment surcharge

calculate_cn_late_payment_surcharge
Read-onlyIdempotent

Chinese late payment surcharge (滞纳金) of 0.05% per day from the day after the deadline (Tax Collection Law art. 32), with fine ranges: late filing up to 2,000 or 2,000-10,000 CNY (art. 62), tax evasion or unpaid tax 50%-5x (art. 63, 64), and the first-violation no-penalty lists (STA 2021 No. 6 and No. 33). Mainland China, as of 2026-11-21 (laws and State Taxation Administration announcements in the official regulations database). General information and estimates only; no individual tax consulting, agency or filing. The 2027 filing calendar is not yet published.

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": {
      "tax": "<tax>",
      "due": "<due>",
      "paid": "<paid>"
    },
    "name": "calculate_cn_late_payment_surcharge"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueYesPayment deadline
taxYesUnpaid tax (CNY)
paidYesPayment date

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds real context beyond that: the statutory rate, the accrual start convention, the legal articles, the as-of date (2026-11-21), the source database, and the note that the 2027 filing calendar is unpublished. It stops short of describing what the computation returns, and the fine-range enumeration suggests coverage the inputs may not actually provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core rate, jurisdiction and accrual rule are front-loaded, which is good. However, the dense run of fine ranges (art. 62, 63, 64, STA 2021 No. 6 and No. 33) occupies substantial space without corresponding inputs, so not every clause clearly earns its place for calling this tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, fully documented, read-only calculation with no output schema, the description covers jurisdiction, rate, accrual start, legal basis and temporal validity well. What is missing is any indication of the shape or components of the result (surcharge only, or surcharge plus fine), which an agent needs 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 description coverage is 100%, so 'Payment deadline', 'Payment date' and 'Unpaid tax (CNY)' are already documented, and the baseline would be 3. The description earns above baseline by supplying the accrual rule 'from the day after the deadline', which pins down the day-count convention the date parameters depend on and is not in the schema.

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?

States a specific verb and resource: computes the Chinese late payment surcharge (滞纳金) at 0.05% per day, with jurisdiction ('Mainland China') and legal basis (Tax Collection Law art. 32) named. An agent can distinguish it from the ES/KR/JP siblings by jurisdiction, though no sibling is named explicitly. The enumeration of fine ranges muddies scope slightly, since the three input parameters only support surcharge math.

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

Usage Guidelines3/5

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

Usage is implied through jurisdiction scoping ('Mainland China') and an effective date, plus a disclaimer limiting use to general information rather than individual tax consulting, agency or filing. There is no explicit statement of when to choose this over a sibling such as calculate_es_late_filing_surcharge, and no prerequisites or exclusion cases are given.

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.