Skip to main content
Glama

get_collection

Read-only

Retrieves a complete Portflow collection view by ID, including description, goals, goal-linked and unlinked evidence, and feedback comments for review or reporting.

Instructions

Full view of one collection: description, its goals, the evidence under each goal, evidence not in a goal, and collection feedback/comments.

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_idYesNumeric Portflow id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations supply readOnlyHint=true and openWorldHint=true, so the safety profile is already covered. The description adds real value beyond that by disclosing the shape of the response (goals, evidence per goal, orphan evidence, feedback) which matters because no output schema exists. It does not mention pagination, size limits, or what happens when the id is unknown.

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 front-loaded sentence that leads with the core concept and then enumerates the returned sections with a colon. Every clause carries information; there is no filler or marketing language, though the enumerated list is dense enough to require a second read.

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?

For a read-only single-entity fetch with no output schema, the description does the heavy lifting by outlining the return structure an agent should expect. Since annotations already cover safety, the remaining gaps (pagination, error on missing id, depth of nested evidence) are modest rather than crippling.

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?

Only one parameter (collection_id) and schema coverage is 100%, so the schema alone fully documents it ("Numeric Portflow id"). The description adds no format, range, or sourcing guidance beyond that, so the baseline 3 applies rather than a higher score.

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-and-resource pair ("Full view of one collection") and enumerates exactly what the view contains: description, goals, per-goal evidence, ungrouped evidence, and comments. This distinguishes it from the list-oriented siblings like list_collections by scoping to a single collection, though it never names an alternative explicitly.

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?

Usage is only implied: an agent can infer it should call this when it needs everything about one collection rather than a listing. There is no explicit when-to-use, no exclusion pointing at get_evidence or list_goals for narrower needs, and no note about the cost of pulling the full nested view.

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