Skip to main content
Glama

get_api_collection

Read-only

Get one collection's folders, endpoints (id, method, path, name, version, example count) and environments (with their variables).

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_api_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collection_idYesId from list_api_collections.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / collection_id / description
      Added value: +"Id from list_api_collections."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the operation as read-only, non-destructive, and closed-world, so the safety profile is covered. The description adds useful context about what is returned: folders, endpoint fields (id, method, path, name, version, example count), and environments with variables. It does not describe error behavior or response shape beyond contents, but the return detail is substantial.

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?

The description is a single efficient sentence with no wasted words. The core action and returned content are front-loaded, and the parenthetical detail clarifies endpoint fields without becoming verbose.

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?

There is no output schema, so the description must carry return-value information, which it does by listing folders, endpoint attributes, and environments with variables. It is nearly complete for a read-only retrieval tool, though it could note behavior when the collection is not found or when the id is invalid.

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 single collection_id parameter is already well documented in the schema ('Id from list_api_collections'). The description does not add parameter-specific meaning beyond what the schema provides, making the baseline score 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?

The description states a specific verb and resource ('Get one collection') and enumerates the returned data (folders, endpoints, environments). It is clear but does not explicitly distinguish itself from sibling tools such as list_api_collections or get_api_endpoint.

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 explicit guidance about when to use this tool versus alternatives like list_api_collections or get_api_endpoint. The usage is implied by the retrieval-by-id nature and the schema's note that collection_id comes from list_api_collections, but the description itself provides no routing instructions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.