Skip to main content
Glama

list_units_under_the_role

Read-only

Lists member and team units assigned to a specific role in a Vika space, so you can audit or manage role membership using space ID and role ID.

Instructions

List member and team units under a role.

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": {
      "spaceId": "<spaceId>",
      "roleId": "<roleId>"
    },
    "name": "list_units_under_the_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleIdYes
spaceIdYesSpace ID, usually starts with spc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered, but the description adds nothing beyond that: no pagination behavior, no result ordering, no indication of whether both member and team units are always returned together. For a read-only enumerate tool the bar is lower, but nothing extra is contributed.

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 filler, and the resource scope is front-loaded. It is efficient but borders on under-specified rather than being genuinely tight prose.

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 a simple two-parameter read with annotations covering safety and no output schema to explain, so the description is close to sufficient. What is missing is the meaning of "units" and the roleId parameter, which the schema leaves undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: spaceId is documented ("usually starts with spc.") while roleId has no description at all, and the tool description does not compensate — it never explains where roleId comes from or whether the role is space-scoped. With low coverage, the description was expected to carry that meaning and does not.

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?

The description uses a concrete verb ("List") and names the resources (member and team units) plus the scoping condition (under a role), which distinguishes it from sibling list tools like list_roles or list_teams. It stops short of naming an explicit sibling alternative, but the resource scope is specific enough to act on.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g. needing a role ID from list_roles), and no routing to alternatives such as list_the_team_members. The use case is only inferable from the phrase "under a role."

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