Skip to main content
Glama

Find DAMA regions, occupations and conditions

query_dama_occupations
Read-onlyIdempotent

Regional policy directory without filters. keyword finds candidate official titles; code or exact officialTitle compares entries across regions. agreementId lists or filters regional occupations. Matches identify entries. Open detail to read conditions and the agreement’s registered source documents. Detail uses agreementId, itemId and releaseId for complete conditions. Pages contain up to 20 entries; subsequent pages use the same filters, releaseId and locale. This public endpoint returns English natural-language text, preserving sources, conditions and pagination.

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": "query_dama_occupations"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoExact official occupation code, preserving leading zeroes.
pageNo
itemIdNoExact regional item. Requires agreementId and releaseId.
localeNo
keywordNoFind candidate official titles by name, including linked Chinese names.
releaseIdNoSnapshot returned by the initial query. Required for detail and later pages.
agreementIdNoExact region identity returned by the directory.
officialTitleNoExact official title from a candidate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / locale
      Added value: +{
      +  "enum": [
      +    "en-US",
      +    "zh-CN",
      +    "zh-TW"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this is a safe, read-only, idempotent, open-world operation, and the description does add real value beyond that: public endpoint, English natural-language output, 20 items per page, and reuse of the same filters/releaseId/locale for later pages. It does not cover whether parameters are mutually exclusive, what happens with ambiguous or partial keyword matches, or any error/empty-result behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and dense with no filler, but several clauses are terse to the point of ambiguity ('Matches identify entries', 'without filters'), forcing the agent to infer meaning. A small amount of restructuring into search modes vs. detail mode would improve it without lengthening it much.

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?

For an 8-parameter, no-output-schema read tool, the description does the heavy lifting: it explains the search-vs-detail flow, the pagination contract, the return language and the fact that source documents and conditions are preserved. What is missing is the shape of a result entry and the behavior when multiple filter parameters are combined.

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?

With 75% schema coverage, the schema already documents most parameters; the description adds the relationships the schema only hints at, notably that detail requires agreementId, itemId and releaseId together and that later pages must repeat releaseId, filters and locale. Gaps remain around the 'page' parameter beyond the 20-per-page fact and around precedence when both keyword and agreementId are supplied.

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 specific verbs and resources: it retrieves regional occupations and conditions, finds candidate official titles via keyword, compares entries via code/officialTitle, and reads detail via agreementId/itemId/releaseId. It never differentiates itself from siblings such as get_state_dama_agreements, get_occupation_labour_agreements or search_occupations, and the opening phrase 'Regional policy directory without filters' is confusing given that keyword/code/agreementId act as filters.

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?

It clearly routes among parameter modes: keyword for candidate titles, code or exact officialTitle for cross-region comparison, agreementId to list or filter regional occupations, and detail mode for conditions. It stops short of stating when to use this tool instead of a sibling lookup tool or any exclusion conditions.

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