Skip to main content
Glama

get_portfolio

Get one of the authenticated user's portfolios with its theme and pages (each page's content blocks). Requires auth.

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": {
      "id": "<id>"
    },
    "name": "get_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPortfolio UUID (from list_my_portfolios)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the auth requirement and the general shape of the returned object (theme, pages, blocks), which is genuine added value. It omits error behavior (not found, not owned), any pagination or size limits on pages/blocks, and permission scope beyond 'requires auth'.

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 compact sentence that front-loads the action, scope, and return contents, then tacks on the auth prerequisite. No filler.

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 one-parameter read tool with no output schema, describing the returned theme/pages/blocks is the key missing piece and it is present. Only failure modes and access rules for non-owned portfolios remain unstated.

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

Parameters4/5

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

Schema coverage is 100% and the sole parameter's description already explains that the id comes from list_my_portfolios. The description adds nothing further about the id, so the schema does the work, but with a single required UUID the baseline is satisfied.

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 ('Get one of the authenticated user's portfolios') and enumerates the payload ('theme and pages (each page's content blocks)'). The qualifier 'authenticated user's' implicitly separates it from get_public_portfolio, though it never names that sibling.

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: you fetch a single portfolio by id, and auth is required. There is no explicit statement of when to prefer this over list_my_portfolios or get_public_portfolio, and no note on what happens for portfolios the user does not own.

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.

Resources