Skip to main content
Glama

edubase_get_organization_departments

Read-onlyIdempotent

Retrieve all departments in an organization, ordered by hierarchy, to map organizational structure and support content management.

Instructions

List all departments in an organization, ordered by their hierarchy.

Input Schema

NameRequiredDescriptionDefault
organizationYesorganization identification string

Output Schema

NameRequiredDescriptionDefault
departmentsYes
organizationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.9
    • addedOutput schema / properties / departments / items / properties / members_custom
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / departments / items / required
      Previous value: -[
      -  "department",
      -  "level",
      -  "permission",
      -  "members",
      -  "leaders"
      -]New value: +[
      +  "department",
      +  "level",
      +  "permission",
      +  "members",
      +  "members_custom",
      +  "leaders"
      +]
  2. Changed13 schema fields changedv2.0.0
    • removedOutput schema / properties / departments / items / properties / department / description
      Removed value: -"name of the department"
    • removedOutput schema / properties / departments / items / properties / id / description
      Removed value: -"external unique department identifier (if set for the department)"
    • removedOutput schema / properties / departments / items / properties / leaders / description
      Removed value: -"leaders of the department"
    • removedOutput schema / properties / departments / items / properties / leaders / items / properties / name / description
      Removed value: -"name of the leader"
    • removedOutput schema / properties / departments / items / properties / leaders / items / properties / user / description
      Removed value: -"user identification string"
    • removedOutput schema / properties / departments / items / properties / level / description
      Removed value: -"depth of the department within the hierarchy (0 for root level departments)"
    • removedOutput schema / properties / departments / items / properties / members / description
      Removed value: -"number of (visible) members in the department"
    • removedOutput schema / properties / departments / items / properties / parent / description
      Removed value: -"name of the parent department (null for root level departments)"
    • removedOutput schema / properties / departments / items / properties / permission / description
      Removed value: -"permissions given to the members of the department"
    • removedOutput schema / properties / departments / items / properties / permission / properties / content / description
      Removed value: -"permission level to contents in organization"
    • removedOutput schema / properties / departments / items / properties / permission / properties / members / description
      Removed value: -"permission level to members in organization"
    • removedOutput schema / properties / departments / items / properties / permission / properties / organization / description
      Removed value: -"permission level to organization"
    • removedOutput schema / properties / organization / description
      Removed value: -"organization identification string"
  3. Addedv1.2.17

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the useful behavioral detail that results are 'ordered by their hierarchy,' but says nothing about pagination or depth limits for an openWorldHint listing.

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?

A single efficient sentence with the action and key ordering behavior front-loaded. No wasted text.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain return values. For a simple one-parameter listing tool it is essentially complete, missing only explicit sibling disambiguation.

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%, so the single 'organization' parameter is fully documented in the schema. The description's 'in an organization' adds no syntax or format beyond that, so the baseline 3 is appropriate.

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?

States a specific verb ('List') and resource ('departments in an organization'), distinguishing it from siblings like edubase_get_organization_department (singular) and edubase_post_organization_department. It doesn't explicitly contrast with the singular retrieval tool, but the plural/listing scope is clear.

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 listing purpose implies when to use it, but there is no explicit guidance on when to prefer it over edubase_get_organization_department (single) or edubase_get_organization_members. Usage is implied rather than directed.

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

Deploy Server

Other Tools