Skip to main content
Glama

get_collection

Retrieve a collection by ID and return all member network locations so you can review access-management membership.

Instructions

Get a collection by ID, including all its members (network locations).

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": {
      "collection_id": "<collection_id>"
    },
    "name": "get_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collection_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose something valuable beyond the schema — that the result expands to include all member network locations — but says nothing about permissions, missing-ID behavior, or result size/pagination for large collections.

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?

One sentence, front-loaded with the action and resource, with the member-expansion detail as a tight parenthetical. Nothing is wasted and nothing a caller needs first is 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?

The tool is low complexity with one required parameter and a published output schema covering return values, so the description need not explain the response shape. It is nearly complete, missing only error/not-found and large-collection behavior.

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 0% for the single parameter, so the description must compensate. Saying 'by ID' confirms the parameter is a collection identifier, but adds no format, source, or lookup hints beyond the schema's own 'Collection Id' title.

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?

Names a specific verb (get) and resource (collection) plus the key scope detail that the response includes all member network locations. It is not explicitly distinguished from siblings such as upsert_collection or get_controller, but the name and description together are unambiguous about what is retrieved.

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?

States only that retrieval is by ID; there is no guidance on when to use this versus sibling read tools, no prerequisites, and no note about behavior when the collection does not exist. Usage is implied by the verb alone.

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