Skip to main content
Glama

Warnings

warnings
Read-onlyIdempotent

Read the portfolio's data-quality warnings — what the import could not read, what it assumed, and what could not be priced — instead of the whole context. Each item carries the engine's own sentence verbatim plus its kind, the account that raised it and the symbols it names. kind filters to one of: parse, unpriced, fx, delisted, openingCash, shortCredit, openingBalance, writeOff, skippedRows, exportWindow, missingHistory, other. symbol filters to the warnings naming that holding. byKind counts the FULL list, not the filtered page, so one call shows what else exists. Paginate with limit/offset and nextOffset. These are import and valuation caveats, never investment advice.

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": "warnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
offsetNo
symbolNo
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

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes well beyond them: each item carries the engine's verbatim sentence plus kind, account and symbols, byKind counts the FULL list rather than the filtered page, and pagination uses limit/offset with nextOffset. It also sets expectations that these are import/valuation caveats, not advice. Since there is no output schema, this return-shape disclosure is doing real work.

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 what the tool returns, then filtering, then counting semantics, then pagination, then a scope caveat — a sensible order. It is dense but largely earns its length; the enumeration of all twelve kind values and the closing 'never investment advice' line are the most expendable parts.

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?

Given seven optional parameters, 14% schema coverage and no output schema, the description supplies the missing return-item structure and the non-obvious byKind aggregation rule. The two unexplained parameters (idempotencyKey, expectedRevision) are the only material hole, and their names are at least self-describing.

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 description coverage is only 14% (dashboardId alone), so the description has to compensate, and it does for kind (full enum plus filtering behavior), symbol, and limit/offset/nextOffset with their pagination interaction. It leaves idempotencyKey and expectedRevision unexplained, which is the remaining gap on a 7-parameter tool.

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 the portfolio's data-quality warnings) and enumerates the three content classes: what the import could not read, assumed, and could not price. The clause 'instead of the whole context' positions it against the broader get_context sibling, so an agent can pick between them without opening either 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?

Clear routing signal: use this for data-quality caveats rather than the full context, and 'one call shows what else exists' explains when to read byKind before filtering. It stops short of naming an explicit sibling tool or stating when not to call it at all, so it is strong but not a full when/when-not map.

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.