Skip to main content
Glama

get_collection

Read-only

Retrieve a full view of one Portflow collection, including description, goals with evidence, evidence not tied to goals, and feedback for teacher review.

Instructions

Full view of one collection: description, goals with their evidence, evidence not in a goal, and feedback.

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

Input Schema

NameRequiredDescriptionDefault
portfolio_idYesId (getal)
collection_idYesId (getal)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/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 real value by disclosing the payload composition — goals with their evidence, evidence not attached to a goal, and feedback — which tells the agent exactly what data it will get back despite there being no output schema. It does not mention permissions or size/pagination limits.

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?

A single sentence with zero padding that front-loads the scope ('one collection') and then lists the returned components. Nothing is redundant.

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 two-parameter read-only tool with no output schema, the description covers what the agent needs: which resource and what content comes back. The remaining gap is the lack of explicit routing against sibling tools, which is a usage-guidance concern rather than a completeness failure.

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 both parameters are documented in the schema (albeit thinly, as 'Id (getal)'). The description adds no meaning about what portfolio_id or collection_id identify or how they relate, so the baseline 3 applies.

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 names a specific resource (one collection) and enumerates the contents returned: description, goals with evidence, orphan evidence, and feedback. The singular 'one collection' implicitly contrasts with list_collections, but it never explicitly names or distinguishes against that sibling, so it stops short of a 5.

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: 'Full view of one collection' suggests using this when detail on a single collection is needed rather than a listing. There is no explicit when-to-use statement, no when-not-to-use, and no named alternative such as list_collections or get_evidence.

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