Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Get departments

get_departments
Read-only

Retrieves departments under a parent account ID, defaulting to the configured parent account or auto-detected own account when no ID is provided.

Instructions

GetDepartments — departments under parentAccountId.

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

Input Schema

NameRequiredDescriptionDefault
parentAccountIdNoParent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.5
    • changedInput schema / properties / parentAccountId / description
      Previous value: -"Parent Account ID"New value: +"Parent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account)."
    • removedInput schema / required
      Removed value: -[
      -  "parentAccountId"
      -]
  2. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds no behavioral context beyond scope: nothing about pagination, result size, ordering, whether inactive departments are included, or what is returned. For a list endpoint whose annotations only cover safety, this leaves real gaps.

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 short sentence with no wasted wording, and the resource and scope are front-loaded. It is efficient, though the terseness edges toward under-specification rather than genuine economy.

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?

The tool is simple: one optional numeric parameter, full schema coverage, annotations present, and no output schema to explain. Against that low complexity the description is barely adequate—it omits the return shape and the singular/plural relationship that an agent would need to pick correctly between this and get_department.

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 description coverage is 100%, so the parentAccountId semantics—including its optionality and defaults—are fully documented in the schema. The description only echoes the parameter name without adding format, range, or fallback detail beyond what the schema already says, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (departments) and the scope (under parentAccountId), so the verb+resource is minimally identifiable. However, the phrasing largely restates the tool name and the single schema field, and it does nothing to distinguish this list operation from the sibling get_department (singular), leaving the agent to infer the singular/plural split.

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?

There is no guidance on when to call this instead of get_department, get_my_account, or get_companies. The only hint is the implicit 'under a parent account' scope, and the schema—not the description—carries the default-to-own-account behavior. No exclusions or alternatives are stated.

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