Skip to main content
Glama

GleanMark USPTO Trademark Search

Summarize a Portfolio

summarize_portfolio
Read-onlyIdempotent

Get a composite summary of a portfolio including name, type, mark count, status breakdown, and a list of up to 20 marks with their details. Accepts a portfolio UUID or portfolio name.

Input Schema

NameRequiredDescriptionDefault
portfolio_idNoThe UUID of the portfolio to summarize.
portfolio_nameNoPortfolio name to resolve when you do not have the portfolio UUID.

Output Schema

NameRequiredDescriptionDefault
marksYes
created_atYes
is_partialYes
mark_countYes
descriptionYes
portfolio_idYes
portfolio_nameYes
portfolio_typeYes
returned_marksYes
status_breakdownYes
open_in_gleanmarkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile needs no restating. The description adds genuine context beyond that: the 20-mark cap (a truncation constraint the agent must know about) and dual UUID/name resolution. It is silent on what happens if a portfolio name is ambiguous or matches nothing, which is the main remaining behavioral gap.

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, zero filler, with the composite return contents front-loaded and the input contract in the second sentence. Every clause carries information an agent would otherwise have to guess.

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?

An output schema exists, so return-value detail need not be spelled out, and the annotations fully cover the safety profile of this read-only tool. The 20-mark truncation cap is disclosed, which is the key completeness risk for a summary tool; only ambiguity handling for name-based resolution is left unaddressed.

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%, with both parameters documented and the anyOf constraint making the either/or requirement explicit in the schema. The description's 'Accepts a portfolio UUID or portfolio name' restates that constraint without adding format, precedence, or fallback semantics beyond what the schema already conveys. 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?

States a specific verb (get a composite summary) and resource (portfolio), and enumerates the returned fields: name, type, mark count, status breakdown, and up to 20 marks. It does not name sibling tools such as get_portfolio_marks or analyze_portfolio_risk, so the boundary between 'summary' and 'full marks list' or 'risk analysis' must be inferred from the field list.

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 this is the overview tool when it needs a portfolio snapshot including status breakdown. There is no explicit when-to-use statement or exclusion telling the agent to prefer get_portfolio_marks for full mark retrieval or analyze_portfolio_risk for risk scoring.

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