Skip to main content
Glama

Compare states

compare_states
Read-onlyIdempotent

Rank U.S. states and DC for a selected healthcare job by BLS pay or employment fields, with U.S. reference figures and notes on states lacking published data.

Instructions

Rank the states (and DC) for one job by a BLS pay or employment field, highest first by default, with the U.S. figure for reference. States where BLS did not publish the field are listed at the end with the reason.

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": {
      "job": "<job>"
    },
    "name": "compare_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesJob: cna, phlebotomist, medical-assistant, emt, dental-assistant or pharmacy-technician (names like "nursing assistant" or "pharmacy tech" work too).
limitNoHow many states to show (1-51, default all).
orderNodesc = highest first (default), asc = lowest first.desc
sort_byNoField to rank by: annual_median (default), hourly_median, annual_mean, hourly_mean, annual_p10, annual_p90, employment, location_quotient.annual_median

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world behavior, so the bar is lower. The description still adds real output behavior beyond them: default descending order, the inclusion of a U.S. reference figure, and the handling of unpublished states (appended at the end with a reason). It does not mention pagination or response shape in more detail, but no output schema exists to carry that.

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 sentences, no filler, with the ranking scope and default order front-loaded and the edge-case behavior (unpublished states) placed second. Every clause carries information.

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?

With no output schema, the description must convey the return shape, and it does: a ranked list, a U.S. benchmark row, and a trailing block of states lacking data with reasons. The only minor gap is not explaining how the default limit of 51 interacts with the 'listed at the end' behavior.

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 100% and every parameter already has an enum or description, so the schema does the heavy lifting. The description echoes the default ordering and the field choice but adds no syntax or format detail beyond what the schema states. Baseline 3 applies.

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?

The description gives a specific verb and resource: 'Rank the states (and DC) for one job by a BLS pay or employment field'. Scope, the single-job constraint, and the data source are all explicit. It does not, however, distinguish itself from the sibling get_pay, which an agent could plausibly confuse with a state-ranking call.

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?

Usage is only implied: the agent can infer this is for cross-state ranking on a pay or employment metric. There is no statement of when to prefer this over get_pay or list_cna_states, and no exclusions or prerequisites are given.

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