Skip to main content
Glama

get_market_performance

Read-onlyIdempotent

Returns market-wide performance for a specific country: average returns, sector breakdown, top/bottom performers.

Args:
    country: Country code: 'us', 'ca', 'gb', 'de', 'il', 'au', 'hk', 'sg', etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNous

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "get_market_performanceOutput",
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds context about the output contents (sector breakdown, top/bottom performers) but no additional behavioral traits like data freshness, pagination, or any side effects. It does not contradict 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?

The description is two sentences, front-loaded with the core purpose and then the parameter. Every word earns its place; no filler or redundant restating of the tool name or annotations.

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?

With a single optional parameter, rich annotations, and no output schema, the description covers the essential purpose and parameter semantics. However, it omits details like whether data is real-time or historical, and the country list is open-ended ('etc.'), which could leave edge cases unclear. Still, for a read-only simple lookup, it is largely complete.

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

Parameters4/5

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

The schema only provides a title 'Country' with a default, and schema description coverage is 0%. The description compensates by explaining the country parameter with explicit examples ('us', 'ca', 'gb', etc.), adding meaningful guidance beyond the raw schema. The 'etc.' leaves some ambiguity, but it is sufficient for the common cases.

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 description clearly states the tool returns market-wide performance for a specific country, enumerating the exact data included (average returns, sector breakdown, top/bottom performers). This distinguishes it from sibling tools like get_market_movers or get_sector_analysis by explicitly scoping to country-level market performance.

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?

The description implies usage when country-level market performance is needed, but it does not explicitly contrast with alternatives such as get_market_movers, get_sector_analysis, or get_market_commentary. It lacks clear when-to-use or when-not-to-use guidance.

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