Skip to main content
Glama

Jp Payslip Audit

jp_payslip_audit
Idempotent

Audit a Japanese payslip: recompute statutory premiums and withholding tax from official tables and diff against the actual amounts, with per-item verdicts (match/explainable/mismatch). $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageNoAge in years (selects care-insurance and other age-gated rules)
as_ofNoCalculation reference date YYYY-MM-DD (default today); selects the rules version
payslipYesPayslip fields to audit - see /catalog input spec
x_paymentNoOptional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.
prefectureYesPrefecture (romaji or Japanese), e.g. 'Tokyo'
standard_monthly_yenNoStandard monthly remuneration if known (else estimated from salary)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON body of the underlying call (see /samples/{product} for each product's shape)
statusYesHTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)
how_to_payNo
receipt_idNoset on paid results; free re-fetch via get_receipt
payment_requiredNotrue when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover safety (idempotent, non-destructive), but the description adds valuable context beyond them: pricing ($0.02/call), determinism, primary-source citation, and a billing policy (errors and unverified rules are never billed). The x_payment parameter and its no-charge path reinforce the payment model. Return format is left to the output schema, which is acceptable.

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?

Two dense sentences, front-loaded with the core purpose, followed by pricing and guarantees. Every clause carries information; no filler. Could be marginally tighter but is well-structured and appropriately sized.

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 a full output schema present, return values needn't be described, and the schema plus 100% coverage handles parameters. The description supplies the behavioral context an agent needs (determinism, pricing, billing policy). The main gap is the absence of sibling routing guidance, which the crowded namespace makes notable.

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 the schema already documents all six parameters including the nested payslip object and the x_payment header. The description does not add any parameter-level meaning (no format, defaults, or interaction details beyond the schema), so the baseline 3 is correct.

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 states a specific verb (audit) and resource (Japanese payslip) and details the operation: recompute statutory premiums and withholding tax from official tables and diff against actual amounts. The per-item verdict taxonomy (match/explainable/mismatch) further distinguishes it from siblings like jp_payroll_net or jp_social_insurance, which compute rather than audit.

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?

The description implies usage (auditing an existing payslip against statutory tables) but never states when to pick this over the crowded sibling set (jp_payroll_net, jp_social_insurance, jp_payroll_suite). It offers no explicit alternatives or when-not conditions, leaving routing to inference.

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