Skip to main content
Glama

Search assets

search_assets

Search supported market assets and matching owned holdings. smart:true runs the existing semantic search with Assistant rate/budget checks, requires assistant:spend and owner approval, either per action or through a live connection permission. Empty plain searches return requiresSmart:true for an explicitly authorized retry; no silent paid fallback. A held hit and a market hit with the same symbol are one asset. Not for naming a holding in a change: set_category, edit_asset and toggle_asset take the held symbol and resolve it themselves.

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": {
      "query": "<query>"
    },
    "name": "search_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
smartNo
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.4/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false, which on its own would leave it unclear why a search is not read-only. The description resolves that by disclosing the paid semantic path, the spend scope (assistant:spend), the approval model, and the no-silent-fallback guarantee on empty results. The dashboardId parameter's refusal-before-approval behavior further documents failure modes beyond the annotations.

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?

Purpose is front-loaded in the first sentence, then cost/authorization, then the retry contract, then the dedup rule, then the sibling exclusion — a logical funnel with no filler. The long middle sentence is dense but every clause carries a constraint the agent needs.

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 a 5-parameter, no-output-schema tool with non-read-only annotations, the definition covers authorization, spending, failure signals, and result dedup, which is the bulk of what's needed to call it correctly. Gaps remain around result ordering, limits, and the semantics of idempotencyKey/expectedRevision, which matter because there is no output schema to fall back on.

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 coverage is only 20% (just dashboardId), so the description must compensate, and it does explain the otherwise opaque smart flag including its authorization requirements. However, query syntax, idempotencyKey, and expectedRevision receive no explanation anywhere, and the returned requiresSmart:true field is named without describing its shape. Partial compensation, which fits a 3.

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?

The opening sentence names a specific verb and two result classes: market assets and matching owned holdings, plus the dedup rule that a held hit and a market hit with the same symbol are one asset. It also explicitly carves out the sibling tasks it is not for (set_category, edit_asset, toggle_asset), so an agent can separate it from the mutation tools without opening their schemas.

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?

It gives concrete operating conditions: smart:true incurs Assistant rate/budget checks and needs assistant:spend plus owner approval (per action or via a live connection permission), and an empty plain search returns requiresSmart:true instead of silently spending. The exclusion 'not for naming a holding in a change' routes the agent elsewhere. It stops short of contrasting with the broader read siblings like holdings or filter_holdings, but the guidance present is explicit and actionable.

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.