Skip to main content
Glama

business_pay_stub

Read-onlyIdempotent

Pay stub generator

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": {
      "employer": "<employer>",
      "employee": "<employee>",
      "periodStart": "<periodStart>",
      "periodEnd": "<periodEnd>",
      "payDate": "<payDate>",
      "payType": "<payType>",
      "rate": "<rate>"
    },
    "name": "business_pay_stub"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYesHourly rate, or the salary for this period
bonusNoBonus for the period as text, for example 250.
hoursNoRegular hours worked in the period as text, for example 80.
otherNoOther deduction per period as text, for example 20.
ssPctNoSocial Security rate in percent as text, for example 6.2.
fedPctNoFederal withholding in percent as text, for example 12.
healthNoHealth premium per period as text, for example 90.
medPctNoMedicare rate in percent as text, for example 1.45.
retireNoRetirement contribution per period as text, for example 150.
payDateYesPay day as printed on the stub (free text), for example 2026-10-17.
payTypeYeshourly (rate times hours) or salary (rate is the pay for this period).
employeeYesEmployee full name, for example Sam Lee.
employerYesEmployer name, for example: Acme Inc.
statePctNoState withholding in percent as text, for example 4.5.
ytdGrossNoYear-to-date gross pay as text, for example 24000.
periodEndYesLast day of the pay period as printed on the stub (free text), for example 2026-10-15.
employeeIdNoEmployee ID printed on the stub, for example: E-1042.
periodStartYesFirst day of the pay period as printed on the stub (free text), for example 2026-10-01.
otMultiplierNoOvertime pay multiplier as text, for example 1.5.
overtimeHoursNoOvertime hours as text, for example 5.
employerAddressNoEmployer address on one line, for example: 12 Main St, Springfield, IL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / bonus / description
      Added value: +"Bonus for the period as text, for example 250."
    • addedInput schema / properties / employee / description
      Added value: +"Employee full name, for example Sam Lee."
    • addedInput schema / properties / employeeId / description
      Added value: +"Employee ID printed on the stub, for example: E-1042."
    • addedInput schema / properties / employer / description
      Added value: +"Employer name, for example: Acme Inc."
    • addedInput schema / properties / employerAddress / description
      Added value: +"Employer address on one line, for example: 12 Main St, Springfield, IL."
    • addedInput schema / properties / fedPct / description
      Added value: +"Federal withholding in percent as text, for example 12."
    • addedInput schema / properties / health / description
      Added value: +"Health premium per period as text, for example 90."
    • addedInput schema / properties / hours / description
      Added value: +"Regular hours worked in the period as text, for example 80."
    • addedInput schema / properties / medPct / description
      Added value: +"Medicare rate in percent as text, for example 1.45."
    • addedInput schema / properties / otMultiplier / description
      Added value: +"Overtime pay multiplier as text, for example 1.5."
    • addedInput schema / properties / other / description
      Added value: +"Other deduction per period as text, for example 20."
    • addedInput schema / properties / overtimeHours / description
      Added value: +"Overtime hours as text, for example 5."
    • addedInput schema / properties / payDate / description
      Added value: +"Pay day as printed on the stub (free text), for example 2026-10-17."
    • addedInput schema / properties / payType / description
      Added value: +"hourly (rate times hours) or salary (rate is the pay for this period)."
    • addedInput schema / properties / periodEnd / description
      Added value: +"Last day of the pay period as printed on the stub (free text), for example 2026-10-15."
    • addedInput schema / properties / periodStart / description
      Added value: +"First day of the pay period as printed on the stub (free text), for example 2026-10-01."
    • addedInput schema / properties / retire / description
      Added value: +"Retirement contribution per period as text, for example 150."
    • addedInput schema / properties / ssPct / description
      Added value: +"Social Security rate in percent as text, for example 6.2."
    • addedInput schema / properties / statePct / description
      Added value: +"State withholding in percent as text, for example 4.5."
    • addedInput schema / properties / ytdGross / description
      Added value: +"Year-to-date gross pay as text, for example 24000."
  2. First observed

TDQS

D1.9/5.0
Behavior2/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 and the description does not contradict it. However, the description adds nothing beyond those hints: it does not say whether a document or data is returned, how totals are computed, or what happens to omitted optional fields.

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

Conciseness2/5

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

Three words with no structure and no front-loaded information beyond the name. This is under-specification rather than conciseness; the brevity costs the agent all actionable detail.

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

Completeness1/5

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

For a 21-parameter tool with 7 required fields, computed pay logic, and no output schema, the description is wholly inadequate. An agent cannot know what the call returns or how the generated stub is structured without reading the entire schema.

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% across all 21 parameters, including worked examples for rate, hours, percentages and dates, so the schema carries the semantics and a baseline 3 applies. The description contributes nothing extra about interactions the schema cannot express, such as how payType=hourly combines rate, hours and otMultiplier, or which optional fields default to zero.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Pay stub generator" only restates the tool name and title; it names no verb of consequence and gives no scope. An agent learns nothing it could not infer from the identifier business_pay_stub, and nothing distinguishes it from document-producing siblings such as business_invoice_totals or business_receipt.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no preconditions, and no mention of any alternative tool. The agent must guess whether this produces a rendered document, structured pay data, or a calculation, and whether another sibling is more appropriate.

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