Skip to main content
Glama

get_top_rated_stocks

Read-onlyIdempotent

Returns stocks most recommended by the best-performing analysts (by analyst track record) in one market.

Args:
    num: Number of results
    sector: Sector filter (financial, healthcare, technology, etc.) or empty for all
    country: 'US', 'Canada', 'UK', 'Germany', 'France', 'Spain', 'Italy', 'Netherlands',
             'Switzerland', 'Australia', 'Singapore', 'Japan', 'Israel'; any other country
             returns no_match. NOTE: UK tickers use GB: prefix but country param is 'UK'.

Input Schema

NameRequiredDescriptionDefault
numNo
sectorNoSector filter: technology, financial, healthcare, energy, utilities, industrials, materials, consumerdefensive, consumercyclical, services (default: all sectors). This feed files oil & gas under its Utilities sector, so 'energy' and 'utilities' return the same rows: oil & gas companies and power utilities together, all labelled 'Utilities'.
countryNo'US','Canada','UK','Germany','France','Spain','Italy','Netherlands','Switzerland','Australia','Singapore','Japan', or 'Israel' (default: US); these are the only markets with a list, each list covers one market, and any other country returns no_match. There is no global list: when no market is named, use 'US' and say the list covers US stocks. UK tickers are returned with a 'GB:' prefix but the country value is still 'UK'.US

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"'US', 'Canada', 'UK', or 'Global' (default: US). UK tickers are returned with a 'GB:' prefix but the country value is still 'UK'."New value: +"'US','Canada','UK','Germany','France','Spain','Italy','Netherlands','Switzerland','Australia','Singapore','Japan', or 'Israel' (default: US); these are the only markets with a list, each list covers one market, and any other country returns no_match. There is no global list: when no market is named, use 'US' and say the list covers US stocks. UK tickers are returned with a 'GB:' prefix but the country value is still 'UK'."
    • changedInput schema / properties / sector / description
      Previous value: -"Lowercase sector filter: financial, healthcare, consumerdefensive, consumercyclical, utilities, materials, technology, industrials, energy, communicationservices, realestate (default: all sectors)"New value: +"Sector filter: technology, financial, healthcare, energy, utilities, industrials, materials, consumerdefensive, consumercyclical, services (default: all sectors). This feed files oil & gas under its Utilities sector, so 'energy' and 'utilities' return the same rows: oil & gas companies and power utilities together, all labelled 'Utilities'."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "get_top_rated_stocksOutput",
      -  "type": "object"
      -}New value: +null
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: unsupported countries return no_match rather than an error or empty list, and UK tickers carry a 'GB:' prefix while the country value stays 'UK' – both are non-obvious traps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The leading sentence is well front-loaded and earns its place, but the Args block largely duplicates the input schema, repeating the country enumeration and sector examples that the schema already documents. Roughly half the text is redundant with structured data.

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?

With no output schema, the description should say more about what comes back – ticker, analyst names, price target, score, count per row. It only says the stocks are 'most recommended' and gives no hint of ordering, pagination, or empty-result behavior when num exceeds available names.

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% and the schema's own sector and country descriptions are richer than the prose (the energy/utilities overlap note is schema-only). The description restates the country list and gives only a bare gloss for `num` ('Number of results') without bounds, ranking basis, or what happens at extremes, so it adds little beyond structured fields.

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?

It names a specific verb and resource ('Returns stocks most recommended') and adds the distinguishing selection criterion: recommendation weight by analyst track record, restricted to one market. That separates it in spirit from siblings like get_top_smart_score_stocks and get_trending_stocks, though it never names those siblings explicitly.

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 context is implied by the market constraint ('in one market') and reinforced by rules such as 'any other country returns no_match' and 'when no market is named, use US'. However, there is no statement of when to prefer this over get_top_smart_score_stocks, get_trending_stocks, or get_recent_analyst_ratings, which an agent would plausibly confuse it with.

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