Skip to main content
Glama

get_department

Retrieves department details by ID, enabling you to look up organizational unit information from Lattice.

Instructions

Get a department by ID

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesDepartment API ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it: nothing is said about behavior for an unknown/invalid ID (error vs null), permission requirements, or whether this returns a partial or full department record. There is also no output schema to fall back on, so return shape is undocumented.

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 six-word sentence with no padding, front-loading the verb and resource. Nothing could be trimmed without losing meaning.

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?

For a one-parameter lookup this is the minimum viable definition: identity is clear, but error behavior, return contents, and permissions are absent while no annotations or output schema compensate. Low complexity keeps it from being worse than adequate.

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 coverage is 100% and the single parameter is documented as "Department API ID"; the description's "by ID" adds no format or sourcing detail beyond that. The baseline of 3 applies since the schema already carries parameter meaning.

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?

"Get a department by ID" names a specific verb (get) and resource (department) plus the key used, which clearly reads as a single-item fetch as opposed to a listing. It does not explicitly contrast with list_departments, but the singular resource and ID key make the distinction inferable.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, no prerequisites (e.g., where a valid department ID comes from), and never mentions the sibling list_departments as the alternative for enumeration. An agent must infer usage entirely from the singular resource name.

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