Skip to main content
Glama

SLDX API

Dados cadastrais e de mercado de uma ação ou opção

get_stock_information
Read-onlyIdempotent

Retorna dados cadastrais, classe (ação comum, FII, BDR, opção), status ativo/inativo e dados de mercado (preço, variação, market cap, máx/mín 52 semanas) de uma ação brasileira. Aceita múltiplos tickers separados por vírgula, mas prefira uma chamada por ticker. Custa 1 crédito por chamada.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_stock_information"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesCódigo do ticker, ex: VALE3, HGLG11

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds value beyond that with the per-call credit cost and the multi-ticker batching behavior with a stated preference, both of which affect how an agent should call it. It does not say what happens with inactive tickers or invalid codes, which is a minor remaining gap.

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?

Three short sentences, front-loaded with what is returned, then the batching rule, then the cost. Every sentence carries information an agent needs and there is no filler.

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

Completeness5/5

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

There is no output schema, so the description compensates by listing the returned data groups (registration, class, status, price, variation, market cap, 52-week range), and it adds the cost and batching contract. For a single-parameter lookup tool this covers everything needed to call it correctly.

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?

With one parameter at 100% schema coverage the schema already documents 'ticker' with examples. The description adds meaning the schema lacks: the single string field can carry multiple comma-separated tickers, plus the recommendation to split them. That is genuine semantics beyond the structured field.

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?

States a specific verb (retorna) and resource (dados cadastrais, classe, status e dados de mercado de uma ação brasileira), and enumerates the returned fields, which implicitly separates it from a price-only or fundamentals-only tool. It never names a sibling explicitly, so sibling differentiation is inferred rather than stated.

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?

Gives real invocation guidance: accepts multiple comma-separated tickers but prefers one call per ticker, and discloses that each call costs 1 credit. It does not say when to prefer get_stock_price, get_stock_fundamentals, or get_stock_history instead, so routing vs alternatives is left to inference.

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.