Skip to main content
Glama
JobStreet MCP Server

JobStreet MCP Server

by emansih

Get JobStreet search counts

get_search_counts
Read-onlyIdempotent

Retrieve facet counts by classification, work type, and location for a job search without fetching listings, letting you evaluate filters before running the search.

Instructions

Get facet counts (by classification, work type, location) for a search without fetching jobs. Accepts the same filters as search_jobs. Classification and work type IDs are labelled; unknown location IDs are left unnamed.

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_search_counts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortByNoSort order. Default relevance.
keywordsNoFree-text keywords, e.g. 'software engineer'.
locationNoLocation text sent as `where`, e.g. 'Central Region', 'Jurong', 'Singapore'. See suggest_locations.
salaryMaxNoMaximum pay in SGD for salaryType. Omit for no upper bound.
salaryMinNoMinimum pay in SGD for salaryType.
workTypesNoWork types (OR). Omit for any.
salaryTypeNoPay period that salaryMin/salaryMax refer to. Defaults to 'monthly' when a salary bound is given.
listedWithinDaysNoOnly jobs listed within the last N days (1, 3, 7, 14 or 31).
workArrangementsNoWork arrangements (OR). Omit for any.
classificationIdsNoTop-level classification IDs (OR). Use list_classifications to find IDs.
subclassificationIdsNoSubclassification IDs (OR), e.g. '6290' = Engineering - Software. IDs come from search_jobs results (classification.subclassificationId); list_classifications explains.

Output Schema

NameRequiredDescriptionDefault
countsYes
searchUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.3/5.0
Behavior3/5

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

The annotations already establish readOnlyHint, idempotentHint, and non-destructiveness, so the safety profile is covered. The description adds genuinely useful behavior about the return value: classification and work type IDs are labelled, while unknown location IDs are left unnamed. That tells the agent how to interpret the results, but there is no detail on the shape of the counts or their ordering.

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?

Three tight sentences: what it returns, which filters it accepts, and a labeling caveat. The most important information, the facet-count purpose and the contrast with search_jobs, comes first.

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?

For a read-only, no-required-parameter aggregation tool with full schema coverage and an output schema, this description covers purpose, filter parity, and a labeling quirk. Nothing an agent needs to call it correctly is missing.

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?

Schema description coverage is 100%, so the schema already documents all 11 filters in detail. The description still adds value by stating that the tool takes the same filter set as search_jobs, which lets an agent reuse a filter object it built for the job search. It does not document individual filter semantics, which is acceptable here.

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?

A specific verb plus resource: 'Get facet counts (by classification, work type, location) for a search'. The clause 'without fetching jobs' directly separates it from search_jobs, so an agent can choose between them without opening either schema.

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

Usage Guidelines4/5

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

'Accepts the same filters as search_jobs' and 'without fetching jobs' give a clear signal to use this when only aggregate counts are needed and to use search_jobs when job listings are needed. There is no explicit exclusion for other siblings, but the routing context is clear.

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