Skip to main content
Glama

Amaltash Investment & Retirement Calculators

Search stocks

search_stocks
Read-onlyIdempotent

Finds US stocks and funds by ticker or company name. Used by the calculator card's stock picker.

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_stocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA ticker or part of a company name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful scope beyond that — US-only universe, stocks and funds only — but says nothing about how many matches come back, whether partial-name matching is fuzzy, or what an empty result looks like.

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?

Two short sentences with zero filler; the core capability comes first and the integration context follows. Nothing could be cut without losing information.

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 a single-parameter read-only lookup with full schema coverage and no output schema, the description covers what is needed to invoke it. It is thin on what to expect back — no hint on result cardinality, ranking, or whether multiple instruments can share a name — which an agent would likely want before calling.

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 100%, and the schema itself documents 'query' as 'A ticker or part of a company name' with length bounds. The description merely restates the same semantics ('by ticker or company name') without adding format guidance such as case sensitivity or ticker exchange prefixes, so baseline 3 applies.

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 gives a specific verb and resource ('Finds US stocks and funds') plus the two lookup keys ('by ticker or company name'), which cleanly tells an agent what the tool does. It does not name or contrast any sibling, though the sibling list is all calculators, so the differentiation is implicitly clear from the resource type.

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?

'Used by the calculator card's stock picker' sets the context in which the tool is invoked, implying it is a lookup step that feeds a calculator. It gives no explicit when-to-use vs when-not, no note on what to do with ambiguous or empty queries, and no alternatives (e.g. list_assets) are mentioned.

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.

Resources