Skip to main content
Glama

get_market_stats

Read-onlyIdempotent

Aggregate statistics from GitHired's tracked Canadian tech employer dataset — not a full labour-market census. Includes by_remote_scope so worldwide-remote (global) jobs are counted under remote_scope=global, not as Canadian provinces. Optional filters narrow the aggregate before counting.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_market_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoOptional substring filter on title or track (e.g. "data engineer" or "platform"). Case-insensitive.
provinceNoOptional Canadian province code filter (e.g. ON, BC). Compared to job.province exactly (case-insensitive).
seniorityNoOptional exact seniority band filter (intern, junior, mid, senior, staff, principal, lead). Case-insensitive.
remote_scopeNoOptional exact remote_scope filter before aggregating. Allowed: canada | province | americas | global | local | unspecified.
work_arrangementNoOptional exact work arrangement filter. Allowed: remote | hybrid | onsite.
exclude_global_remoteNoWhen true, exclude remote_scope=global jobs from aggregates. Default when omitted: include them under by_remote_scope.global.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / exclude_global_remote / description
      Previous value: -"When true, exclude remote_scope=global jobs from aggregates."New value: +"When true, exclude remote_scope=global jobs from aggregates. Default when omitted: include them under by_remote_scope.global."
    • addedInput schema / properties / province / description
      Added value: +"Optional Canadian province code filter (e.g. ON, BC). Compared to job.province exactly (case-insensitive)."
    • changedInput schema / properties / remote_scope / description
      Previous value: -"Optional exact remote_scope filter before aggregating."New value: +"Optional exact remote_scope filter before aggregating. Allowed: canada | province | americas | global | local | unspecified."
    • addedInput schema / properties / role / description
      Added value: +"Optional substring filter on title or track (e.g. \"data engineer\" or \"platform\"). Case-insensitive."
    • addedInput schema / properties / seniority / description
      Added value: +"Optional exact seniority band filter (intern, junior, mid, senior, staff, principal, lead). Case-insensitive."
    • addedInput schema / properties / work_arrangement / description
      Added value: +"Optional exact work arrangement filter. Allowed: remote | hybrid | onsite."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds genuine context beyond that: the dataset is a tracked employer set rather than a census, and output includes by_remote_scope with global-remote jobs bucketed under global rather than provinces, which prevents a common misinterpretation of the numbers.

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?

Three short sentences, front-loaded with the resource and scope caveat, followed by the output nuance and filter behavior. Every sentence carries information, though the by_remote_scope sentence is dense and could be split for readability.

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 carries the burden of explaining return values, and it only names one output key (by_remote_scope). An agent still does not know what other aggregate fields are returned (counts by province, seniority, totals, etc.), which is a meaningful gap for a statistics tool.

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%, so each filter's meaning is already documented in the schema, establishing a baseline of 3. The description adds only the ordering semantics ('narrow the aggregate before counting') and reinforces the global-remote bucketing, which is useful but does not add per-parameter detail beyond the schema.

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 and resource: aggregate statistics over GitHired's tracked Canadian tech employer dataset. The caveat 'not a full labour-market census' scopes the data but does not explicitly contrast with siblings like search_jobs or get_job, so an agent must infer that this is the counting/aggregation tool rather than a listing tool.

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 implied rather than stated: the description makes clear this produces aggregate counts and that filters narrow them before counting, but it never says when to prefer it over search_jobs or get_job, nor any exclusions or prerequisites. Adequate but leaves routing to inference.

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.