Skip to main content
Glama

portflow_get

Read-only

Performs read-only GET requests on any Portflow /api/v1 endpoint not covered by dedicated tools, including snapshots or shared portfolios, and can follow pagination with all_pages.

Instructions

Read-only GET on any Portflow API path under /api/v1 (for endpoints this server has no dedicated tool for, e.g. snapshots or portfolios shared with you). Example path: /portfolios/123/shares?page=1. Set all_pages to follow pagination.

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": {
      "path": "<path>"
    },
    "name": "portflow_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath after /api/v1, starting with /
all_pagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Consistent with readOnlyHint=true and adds real context beyond annotations: the /api/v1 path prefix, an example path with query string, and that pagination can be followed via all_pages. It stops short of describing error behavior for invalid paths or auth/rate-limit expectations for an open-world tool, which is the main remaining 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?

Three short sentences, front-loaded with the read-only scope, then the selection rule, then the concrete example and pagination hint. Nothing is redundant and nothing needs to be reread.

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 an open-world generic GET with no output schema, this covers scope, usage routing, path format and pagination — the essentials an agent needs to construct a call. Only malformed-path/failure behavior is unaddressed, which is a minor omission rather than a blocker.

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 only 50% and all_pages has no schema description at all, so the description must compensate — and it does, explaining that all_pages follows pagination. The example path also conveys the query-string convention that the 'path' field's schema text leaves implicit.

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?

States a specific verb and resource ('Read-only GET on any Portflow API path under /api/v1') plus the exact role it plays as a fallback for endpoints without a dedicated tool. An agent can distinguish it from get_collection, get_evidence, list_submissions and friends without opening any 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?

Gives an explicit selection rule: use this only for endpoints this server has no dedicated tool for, with snapshots and shared portfolios as concrete examples. It does not enumerate which siblings take precedence, but the exclusion principle is stated clearly enough to route correctly in most cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.