Skip to main content
Glama

search_instruments

Find tradable instruments by text query and filter results by exchange, segment, instrument type, expiry, or ATM offset; limit records to 30 for focused trading and portfolio lookups.

Instructions

Search instruments by text. exchanges/segments/instrument_types are comma-separated lists; records max 30.

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

Input Schema

NameRequiredDescriptionDefault
queryYes
expiryNo
recordsNo
segmentsNo
exchangesNo
atm_offsetNo
page_numberNo
instrument_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does little with it. It mentions the comma-separated list convention and the 30-record cap, but says nothing about pagination behavior despite a page_number parameter, result ordering, what happens on zero matches, or whether the call is read-only/costly. 'records max 30' largely restates the schema's maximum: 30 rather than adding behavior.

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?

Two short sentences, front-loaded with the purpose and followed by the one non-obvious input convention. No filler or redundancy, though the extreme terseness is what creates the parameter gaps — compression was achieved by omission rather than by precise wording.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter discovery tool with no annotations, no output schema, and 0% schema description coverage, the definition is thin. Half the parameters have no explanation anywhere and the agent learns nothing about the returned record shape (symbol, expiry, exchange fields it would need to chain into other calls).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, so the description must compensate and only partly does. It explains the CSV syntax for exchanges, segments, and instrument_types, but leaves query, expiry, atm_offset, and page_number entirely undefined — notably atm_offset, whose meaning and units are completely undiscoverable from either source.

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: 'Search instruments by text.' An agent can immediately tell this is a text-based instrument lookup rather than a quote/candle/portfolio tool. It stops short of naming any sibling or scope boundary, so it is clear but not differentiated from the surrounding catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when this tool should be chosen over alternatives, no prerequisite (e.g. resolving a symbol before calling quote tools), and no exclusions. Usage is only weakly implied by the verb 'Search' combined with 'by text'; nothing tells the agent what to do if it already knows an exact symbol or how this relates to pagination-heavy lookups.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.