Skip to main content
Glama

Friend's portfolio

friend_portfolio
Read-onlyIdempotent

Read an accepted friend’s currently shared relative portfolio. Never infer a friend’s absolute money or quantities. brief requests a compact comparison payload.

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": {
      "handle": "<handle>"
    },
    "name": "friend_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefNo
handleYes
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive behavior, so the safety profile is covered. The description usefully adds a semantic constraint the annotations cannot express — results are relative only and absolute money/quantities must never be inferred — but it says nothing about refusal paths, approval requirements, or how expectedRevision interacts with a read.

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?

Three short sentences, front-loaded with the core operation and followed by the critical interpretation constraint. The final sentence about 'brief' is telegraphic and would read better as a clause, but nothing is wasted.

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?

No output schema exists, so the description must carry some burden, and it does flag the relative nature of the payload, which is the single most consequential thing about the return value. With annotations covering safety and the schema covering the dashboard selection logic, the remaining gap is minor — mostly the unexplained revision parameter.

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 only 20%, so the description is expected to compensate. It does explain 'brief' as requesting a compact comparison payload and implies 'handle' identifies the friend, but idempotencyKey and expectedRevision are left completely unexplained — notable since a revision parameter on a read-only tool is surprising.

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 gives a specific verb+resource: reading an accepted friend's currently shared, relative portfolio. This is distinguishable from group_portfolio and super_investor_portfolio by the 'friend' and 'accepted' qualifiers, though it never names those alternatives explicitly and the term 'relative portfolio' is left undefined.

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?

Implicit preconditions are conveyed ('accepted friend', 'currently shared'), which tells the agent this only works for existing friend relationships with active sharing. However, there is no explicit when-to-use vs. when-to-use-group_portfolio guidance and no statement of what happens when the friend hasn't shared anything.

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.