Skip to main content
Glama

finance_salary_convert

Read-only

Salary and hourly pay converter — Convert pay between hourly, daily, weekly, biweekly, semimonthly, monthly and annual (amount= + per=hour|day|week|biweek|semimonth|month|year; hours= per week default 40, days= per week default 5). Also counts the real year (year=): weekdays, observed US federal holidays (holidays=paid|unpaid|none), pto_days=, days and hours actually worked, effective hourly per hour worked, an hourly worker's exact annual pay that year, and overtime rates. Offline. Price: $0.001 USDC (Base, via x402).

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": {
      "amount": "<amount>",
      "per": "<per>"
    },
    "name": "finance_salary_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
perYeshour
amountYes35

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true). The description adds genuinely useful context beyond them: the operation is computed 'Offline', and there is a per-call price of $0.001 USDC on Base via x402, which an agent must know before invoking. It also discloses sensible defaults (40 hours/week, 5 days/week) — the only remaining gap is output format/units, and the 'Offline' claim sits in mild tension with openWorldHint=true (explained by the x402 payment, but not stated).

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 core purpose is front-loaded in the first clause, and the second sentence covers the year-counting extension, then cost. The dense parenthetical of parameter syntax is efficient but reads like a spec dump; a short structured list would scan better without changing length.

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

Completeness5/5

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

With no output schema, the description must describe results itself, and it does: pay conversions across seven periods plus weekday/holiday/PTO-adjusted worked days and hours, effective hourly, exact annual pay, and overtime rates. Price, offline behavior, and defaults are all present; currency assumption is the only unstated detail.

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?

The schema descriptions are just bare examples ('per': 'hour', 'amount': '35') with no enum, so the description carries real weight by enumerating the accepted per values (hour|day|week|biweek|semimonth|month|year) and the hours/days defaults. However, it references parameters (year, holidays, pto_days, hours, days) that do not exist in the input schema, so an agent may not be able to supply them — a significant usability gap that keeps this below 5.

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?

States a specific verb and resource — 'Convert pay between hourly, daily, weekly, biweekly, semimonthly, monthly and annual' — and then enumerates a second distinct capability (real-year day/hour counting, effective hourly, overtime). An agent can tell this is a pay-period calculator plus year-modeling tool, distinct from siblings like finance_paycheck or finance_employee_cost.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not, or named alternative. The agent must infer applicability purely from the capability list; nothing says whether to prefer finance_paycheck for take-home pay or this tool for gross period conversion.

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