Skip to main content
Glama

Add a manual asset

add_manual_asset

Add a manually valued asset. price is its acquisition basis on date, in currency; the engine compounds it using annual apy percent. It is not today’s market value. assetClass is its Allocation class (default Other); Cash makes it cash, not a holding: its group's cash balance, counted in the Cash tile and cash totals. category is the investing category, separate from market sector; omitted or empty means Other. group is the named group it joins (its account in the value breakdown): an existing name from portfolio.assetGroups.otherAssets, or a short new one; omitted, the first existing group. The result carries entryId, the new entry's id for a later edit_asset or toggle_asset.

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": {
      "name": "<name>",
      "date": "<date>",
      "price": "<price>"
    },
    "name": "add_manual_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
apyNo
dateYes
nameYes
groupNo
priceYes
categoryNo
currencyNo
assetClassNo
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.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful behavior: price is an acquisition basis compounded by annual apy rather than market value, the Cash assetClass is treated as a cash balance counted in the Cash tile instead of a holding, and the result yields an entryId for later edit_asset/toggle_asset calls. It does not cover idempotency or revision-conflict behavior for this write operation.

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?

The core action is front-loaded and each subsequent clause adds distinct semantics rather than repeating the name. The long semicolon-chained sentences make it dense to parse, but no sentence is filler.

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?

For an 11-parameter mutation with no output schema and thin schema descriptions, the definition covers the value model and the return's entryId well. It omits the concurrency and retry semantics of idempotencyKey and expectedRevision, which matter most for a non-idempotent write, leaving a real gap.

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 9%, so the description must carry the load, and it does for the domain-critical params: price, date, apy, assetClass (with the default Other and the special Cash case), category versus market sector, and group (existing name or new, defaulting to first group). It leaves currency, idempotencyKey, and expectedRevision unexplained, though dashboardId is documented in the schema itself.

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 opens with a specific verb and resource ("Add a manually valued asset") and the qualifier "manually valued" distinguishes it from a market-priced counterpart such as add_market_asset. It does not name that sibling explicitly, so differentiation is implied rather than stated.

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 implied by the valuation-model explanation (acquisition basis + compounding apy, not today's market value) and the description points forward to edit_asset and toggle_asset for later changes. However, it never states when to choose this tool over alternatives, nor any preconditions such as required dashboard control.

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.