Skip to main content
Glama

FedSalary: official pay data

Find an official occupation for a job title

search_occupations
Read-onlyIdempotent

Look up an occupation code, title or page slug within a country. Includes US alternate titles and Canadian English and French example titles. A choose or suggestions result needs the reader’s selection. Omit query to browse the directory. US and Canadian results include job and hiring-budget links.

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": {
      "country": "<country>"
    },
    "name": "search_occupations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
countryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real value: it discloses that results may be a 'choose or suggestions' type requiring the reader's decision, and that US/Canadian results carry job and hiring-budget links.

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?

Five short sentences, front-loaded with what is searched and scoped by country. Each sentence carries distinct information (title coverage, disambiguation, browse mode, result links) with no filler.

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?

With no output schema, the description does well to mention result variants and link-bearing results, and it covers the two most important inputs. However, for a paginated lookup tool, the absence of any default page size or limit/offset guidance leaves a real gap before an agent can call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning and only partly does: it explains that query accepts codes, titles, or page slugs (including US alternate and Canadian EN/FR example titles) and that omitting it browses, plus that country gates title-language coverage. The limit and offset parameters are never mentioned, so pagination and page-size behavior remain undocumented in both schema and description.

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?

States a specific verb ('Look up') and resource ('occupation code, title or page slug') scoped to a country. The resource itself distinguishes it from siblings like find_jobs or check_pay, though it never names an alternative explicitly.

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?

Gives one concrete usage mode ('Omit query to browse the directory') and warns that a choose/suggestions result requires a selection, which implies a two-step flow. It does not say when to prefer this over the job/pay siblings or what queries are out of scope.

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