Skip to main content
Glama

DFM · The Fund Management OS

Get Portfolio (primary DFM wallet)

get_portfolio
Read-only

Get the user's primary DFM app-wallet positions + summary from the live API (GET /portfolio + /portfolio/summary). NOTE: the API derives the wallet from the authenticated identity and resolves its app wallet; there is no portfolio-by-arbitrary-address endpoint. AUTH required. On this remote server it reads the account of the read-only dfm_ key you connect with (Authorization: Bearer dfm_… header); without a key it answers how to connect one.

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. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing auth requirements, the exact Authorization: Bearer dfm_… mechanism, that the wallet is derived server-side from the authenticated identity, and the graceful behavior when no key is supplied (returns connection instructions). It stops short of saying what the summary contains or how the two endpoints' results are combined.

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?

Front-loaded with the purpose, then endpoints, then the scope caveat, then auth — a sensible ordering. The auth sentences are dense and repeat the key concept twice (Bearer header plus the parenthetical about the read-only dfm_ key), which is slightly redundant but serves the remote-server case.

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

Completeness3/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 return-value expectations, and "positions + summary" is only a gesture toward the shape of the response. Auth and scope are complete, but an agent still cannot anticipate the fields, units, or empty-wallet behavior.

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?

Zero parameters with a fully covered schema, so the baseline applies; there is nothing for the description to disambiguate. It correctly signals that addressing is implicit via the auth key rather than a parameter, which is a small but real semantic addition.

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 ("Get the user's primary DFM app-wallet positions + summary") and even names the backing endpoints (GET /portfolio + /portfolio/summary). The note that there is no portfolio-by-arbitrary-address endpoint pins the scope so an agent can distinguish it from address-based lookups in the sibling set.

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?

Makes clear when the tool applies: only for the authenticated identity's own primary wallet, never an arbitrary address. It does not explicitly route to a sibling tool (e.g. list_dtfs or get_vault) for other portfolio-like needs, so an alternative mapping 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.