Skip to main content
Glama

HR: List engagements

hr_list_engagements
Read-only

Who WORKS here — the employment periods, newest start first. Read-only. Filters: 'person_id', 'status' (active/probation/suspended/leaving/ended), 'kind' (employee/intern/contractor/…), 'location_id', and 'open_only' (true = periods with no end date, i.e. the current staff). Each row carries the person, the position title, the shop, the manager, the dates and — once closed — the typed end reason. This is where the 'engagement_id' hr_close_engagement and hr_update_engagement take comes from; without it those writes name an id nothing could produce. One person may legitimately hold SEVERAL rows (a re-hire, or two roles at once), so match on the dates rather than assuming one row per person.

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

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
offsetNo
statusNo
open_onlyNo
person_idNo
location_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description adds real value beyond that with the newest-start-first ordering, the note that closed rows carry a typed end reason, and the warning that one person may hold several rows. It does not mention pagination behavior, though limit/offset exist in the schema.

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 sentences, front-loaded with the core identity before filters and caveats, with no filler. The density is high but each sentence contributes distinct information; the em-dash asides are slightly heavy but not wasteful.

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 compensates by describing what each row carries (person, position title, shop, manager, dates, end reason) and by flagging the multi-row-per-person pitfall. That is close to complete for a filtered list tool; only paging/result-size behavior is unaddressed.

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 0%, so the description must carry the load, and it does: it enumerates the status values (active/probation/suspended/leaving/ended), gives examples for kind, and explains open_only as 'periods with no end date, i.e. the current staff'. Only limit/offset are left unexplained, which is acceptable for standard paging parameters.

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?

Opens with a specific framing ('Who WORKS here — the employment periods, newest start first') that names the resource, the ordering, and implicitly separates it from hr_list_people. An agent can tell this lists employment periods rather than people or vacancies without opening the 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?

Explicitly states it is read-only and that the 'engagement_id' consumed by hr_close_engagement and hr_update_engagement originates here, which is genuine routing guidance. It lacks an explicit 'use X instead when...' exclusion, but the 'Who WORKS here' framing plus the write-tool dependency covers most selection needs.

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