Skip to main content
Glama

SmartHR MCP by usefulapi

smarthr_get_department

Read-only

Get one department (部署) by id, with its parent and children.

Input Schema

NameRequiredDescriptionDefault
idYesDepartment id (from smarthr_list_departments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint already covers the safety profile, so the bar is lower; the description still earns credit by disclosing the response contents — the department's parent and children — which is real behavioral information not in any structured field. It omits edge behavior such as what happens with an unknown id or whether child expansion is bounded, keeping it short of a 5.

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?

A single clause, front-loaded with the verb and resource, with the return shape appended. Nothing to trim and nothing buried.

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 a one-parameter read tool with annotations covering safety and no output schema, the description supplies enough: what it returns and how to identify the record. Minor gaps remain around missing-id behavior and whether the children list is complete or truncated.

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?

Only one parameter, and the schema already documents it at 100% coverage, including the provenance hint ('from smarthr_list_departments'). The description's 'by id' adds nothing the schema does not already supply, so the baseline 3 applies.

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?

States a specific verb and resource ('Get one department by id') and even names the returned shape (parent and children), plus the Japanese term 部署. The singular 'by id' framing distinguishes it cleanly from smarthr_list_departments without needing 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 Guidelines3/5

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

The 'by id' phrasing implies this is the detail-fetch counterpart to the list tool, but no alternative is named and no when-not guidance or prerequisite is given. Usage is inferable rather than explicit.

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.