Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_hr_payroll

Read-onlyIdempotent

Calculate gross wages for small businesses from hours, base rate, optional overtime and staff count; no tax or statutory payroll compliance calculation. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

Input Schema

NameRequiredDescriptionDefault
hoursYesRegular paid hours per worker
hourly_rateYesHourly wage in one user-selected currency
staff_countNoNumber of workers with identical inputs, default 1
overtime_hoursNoExtra hours per worker, default 0
overtime_multiplierNoOvertime rate multiplier, default 1.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: a per-call cost of 0.01 USDC on Base via x402 and the X-Provider-Key header for customer-owned credentials. It stops short of describing error conditions, rate limits, or the exact response payload.

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?

Two compact sentences: scope and exclusions first, then payment and auth mechanics. Every clause carries information an agent needs, with no repetition of the tool name or filler.

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 five-parameter, read-only calculator with full schema coverage and annotations, the description supplies the missing operational context: compute limits, cost, and credential handling. The one remaining gap is that no output schema exists and the description never explicitly states what is returned (e.g. a single gross-wage amount versus a per-worker breakdown).

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% and all five parameters carry their own descriptions including defaults, so the schema does the heavy lifting. The description only paraphrases the same inputs ('hours, base rate, optional overtime and staff count') and adds no format, rounding, or currency-handling semantics beyond what the schema already states.

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 names a specific verb and resource ('Calculate gross wages') and enumerates the exact inputs (hours, base rate, overtime, staff count). It also draws a sharp boundary against payroll-compliance tools with 'no tax or statutory payroll compliance calculation', which separates it from siblings like api_hr_invoice or api_hr_leave_accrual without needing to name them.

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?

It states the domain of use (small-business gross wage calculation) and an explicit exclusion (no tax/statutory compliance), which tells the agent when to pick something else for compliance work. No sibling tool is named as the alternative, so the routing is implied rather than spelled out.

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