Skip to main content
Glama

salary_convert

Convert salary amounts between currencies and compare purchasing power across countries. Adjust for work hours per week and weeks per year.

Instructions

Convert salary between currencies with purchasing power comparison.

Parameters:
    salary — Salary amount.
    from_currency — Source currency code (default: 'USD').
    to_currency — Target currency code (default: 'EUR').
    hours_per_week — Hours worked per week (default: 40).
    weeks_per_year — Weeks worked per year (default: 52).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
salaryYes
from_currencyNoUSD
to_currencyNoEUR
hours_per_weekNo
weeks_per_yearNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must fully disclose behavior. It mentions 'purchasing power comparison,' which adds value beyond simple conversion. However, it lacks details on rate limits, authentication, or side effects. The behavioral disclosure is adequate but not comprehensive.

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 front-loaded with a clear purpose sentence, followed by a parameter list. While the parameter list is verbose, it is structured and useful. No wasted sentences, but could be more compact.

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

Completeness3/5

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

The tool has 5 parameters and an output schema. The description explains the conversion and purchasing power comparison, but does not clarify how the comparison works (e.g., based on PPP indices) or describe the output format. Adequate but leaves some gaps.

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 coverage is 0%, so the description must compensate. It lists parameters with brief defaults but essentially restates schema titles (e.g., 'Salary amount', 'Source currency code'). It adds minimal extra meaning beyond the schema, but the defaults are helpful. Score 3 reflects baseline compensation.

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 clearly states the tool's purpose: 'Convert salary between currencies with purchasing power comparison.' This distinguishes it from sibling tools like convert_currency (simple currency conversion) and salary_breakdown (breaking down salary components).

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?

No guidance is provided on when to use this tool versus alternatives (e.g., convert_currency, salary_breakdown). There is no mention of context or exclusions, leaving the agent to infer usage from the description alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scotia1973-bot/api-hub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server