Skip to main content
Glama

Portfolio

get_portfolio
Read-onlyIdempotent

Overview of all websites of the signed-in user's organizations (demo sites excluded) with site id, status, health score, open critical tasks, open root causes, AI share and last scan, sorted by what needs attention first. get_site_brief returns the detail for one site.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so safety and determinism are covered. The description adds genuinely useful behavioral context the annotations lack: demo sites are excluded, results span the signed-in user's organizations, and ordering is attention-prioritized rather than arbitrary. It does not say anything about volume, pagination, or limits on a portfolio list.

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?

Two sentences, both load-bearing: the first gives scope, exclusions, field set and sort order; the second handles sibling routing. The scope and the return-field list are front-loaded before the alternative, which is the right ordering for an agent deciding whether to call it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the returned columns and the sort order, which is exactly what an agent needs to know whether this tool answers its question. Combined with the explicit demo-site exclusion and the pointer to get_site_brief for per-site detail, nothing material is missing for a zero-parameter read tool.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond the schema's empty object. Baseline for a no-parameter tool is a 4; the description correctly avoids inventing filters that do not exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and scope: 'Overview of all websites of the signed-in user's organizations (demo sites excluded)', then enumerates exactly what each row contains (site id, status, health score, open critical tasks, open root causes, AI share, last scan). It also explicitly distinguishes itself from the sibling get_site_brief, so an agent can choose between the list and detail views without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the alternative for the opposite use case: 'get_site_brief returns the detail for one site.' That gives a clear routing rule for aggregate-vs-single-site. It does not state any exclusions or prerequisites for this tool itself (e.g. behavior when the user belongs to no organizations), so it stops short of full when/when-not guidance.

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