Skip to main content
Glama

Search the screen

search_stocks
Read-onlyIdempotent

Find stocks in the Comet screen by company name or ticker, optionally filtered by verdict, ShariahGrade, sector or index. Returns up to 50 matches with verdict and grade. Results are ordered alphabetically by ticker, not ranked, and are not recommendations.

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

Input Schema

NameRequiredDescriptionDefault
gradeNo
indexNoLimit to one index universe.
limitNo
queryNoPart of a company name or ticker. Optional.
sectorNoSector name, for example Technology or Healthcare.
verdictNoPASS passes, FAIL fails, REVIEW is questionable (prohibited revenue not disclosed), DATA is a data gap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description adds real behavioral context: a 50-result ceiling, alphabetical ordering rather than ranking, and an explicit disclaimer that results are not recommendations. That ordering/ranking disclosure is the kind of thing an agent cannot infer from annotations and directly affects how results should be interpreted.

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 tight sentences with no filler: the first gives the action and filters, the second gives result shape, ordering, and the non-recommendation caveat. Nothing is repeated from the name or title, and the most decision-relevant information leads.

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 six-parameter read-only search with no output schema, the description covers the essentials: what is matched, what can be filtered, result cap, result contents, and ordering. The main residual gap is the limit parameter's default and the absence of any pagination guidance for results beyond the cap.

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 67%, so the schema already documents query, index, sector, and verdict. The description adds modest meaning by labelling grade as "ShariahGrade" and restating that query matches a partial name or ticker, but it never explains the limit parameter (default 20, max 50) beyond the vague "up to 50 matches."

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?

"Find stocks in the Comet screen by company name or ticker" states a specific verb, resource, and lookup key, then enumerates the optional filters (verdict, ShariahGrade, sector, index). It is clearly distinguishable from compare_stocks or get_methodology by implication, but it never explicitly contrasts itself with the close sibling screen_stock.

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 only implied: the description frames the tool as a name/ticker lookup rather than a criteria-based screen, which hints at when it applies. It never states when NOT to use it or names screen_stock or get_halal_500 as the alternative for criteria-driven or list-based queries.

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