Skip to main content
Glama

PRSI calculator (Class A)

calculate

Run the PRSI calculator (Class A) calculator: Weekly gross pay assessed; Employee PRSI per week; Employer PRSI per week; Employee PRSI per year. Missing inputs fall back to their documented defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payNoGross pay
periodNoPay entered asannual

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It discloses that missing inputs fall back to documented defaults and lists the output quantities, but it does not mention tax-year assumptions, accepted period values, or side effects/state changes.

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?

The description is compact and front-loads the action and outputs before the fallback note. It is slightly redundant with 'calculator' appearing twice in the first clause, but there is no filler or unnecessary detail.

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 two-parameter, no-output-schema calculator, the description covers the operation, the outputs, and default behavior. The main gap is the lack of explicit period options and rate/tax-year assumptions, but the definition is still adequate for straightforward invocation.

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 the two parameters. The description adds context about defaults and weekly assessment, but it does not explain the allowed values of period or how pay is normalized. Baseline 3 is appropriate.

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?

The description uses a specific verb 'Run' and names the resource (PRSI calculator Class A), then enumerates the computed outputs: weekly gross pay, employee/employer PRSI per week, and employee PRSI per year. It is clear and actionable, though it does not explicitly contrast with sibling calculator_describe.

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 use for calculating PRSI values, and the fallback-defaults note hints at how missing inputs are handled. However, it does not state when to prefer this tool over calculator_describe or the enquiry_* siblings, leaving usage context mostly implicit.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a distinct role: calculate runs the calculator, calculator_describe explains it, enquiry_describe explains the enquiry process, enquiry_fields provides field metadata, and submit_enquiry performs the two-step submission. There is no meaningful overlap between the tools.

Naming Consistency2/5

Naming conventions are mixed: calculate and submit_enquiry are verb-first, while calculator_describe and enquiry_describe place the noun first and enquiry_fields is a noun phrase. The inconsistency makes the set feel less predictable, though still readable.

Tool Count5/5

Five tools is well-scoped for a single calculator plus enquiry workflow. Each tool earns a place and the count is neither thin nor bloated.

Completeness5/5

The surface covers both major functions: running/explaining the PRSI calculation and describing/submitting an enquiry with all needed metadata and consent flow. There are no obvious dead ends or missing operations within the stated domain.

Resources