Skip to main content
Glama

Get portfolio summary

get_portfolio_summary
Read-only

Cross-project rollup: project counts by status, total budget vs total actual cost (+ which projects are over budget), total invoiced/paid/outstanding, and open-item counts across rfis/submittals/change_orders/safety_incidents/punch_list_items/claims — a portfolio-wide risk pulse in one call. Optional status/customer_id to scope to a subset of projects; bounded by limit (default 100).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
statusNo
customer_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), so the bar is lower; the description still adds real behavioral context by disclosing that results are bounded by limit with a default of 100 and that over-budget projects are flagged within the payload. It stops short of saying what happens when the limit truncates results (silent cap vs pagination), which matters for a rollup.

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 dense sentence followed by a short scoping clause; the return contents are front-loaded and nothing is filler. It is long but every clause enumerates a real output field, which earns its place given there is no output schema.

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?

With no output schema, the description correctly compensates by listing the returned metric groups, and it covers all three parameters adequately. Remaining incompleteness is minor: status enum values and limit truncation semantics are undefined.

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 0%, so the description must carry the burden, and it does: status and customer_id are explained as scoping a subset of projects, and limit is given a default of 100. Gaps remain — the accepted values for status and the upper bound or truncation behavior of limit are unspecified.

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 opens with a specific framing — 'Cross-project rollup' — and enumerates the exact metrics returned (status counts, budget vs actual, invoiced/paid/outstanding, open-item counts across six record types), so the agent knows precisely what the call produces. It does not name or contrast itself with the near-sibling get_project_cost_summary, which is the one remaining ambiguity.

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?

The phrase 'a portfolio-wide risk pulse in one call' implies the usage context (firm-wide overview rather than single-project drilldown), and the scoping sentence tells the agent how to narrow it. There is no explicit when-not guidance and no named alternative such as get_project_cost_summary for per-project detail, so routing is left to inference.

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