Skip to main content
Glama

SLDX API

Histórico de dividendos e proventos de uma ação

get_stock_dividends
Read-onlyIdempotent

Retorna o histórico de dividendos, JCP, bonificações e outros proventos distribuídos por uma ação B3. Por padrão retorna os últimos 5 anos. 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_dividends"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoData final no formato YYYY-MM-DD (padrão: hoje)
fromNoData inicial no formato YYYY-MM-DD (padrão: 5 anos atrás)
tickerYesCódigo do ticker, ex: PETR4

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 declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds two things the annotations cannot: a per-call credit charge and the default lookback of 5 years, both of which materially affect how an agent plans calls. It does not describe result shape or whether missing payouts yield an empty list, which keeps it off a 5.

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 compact sentences, each carrying distinct information: what is returned, the default window, and the cost. Nothing is redundant and the payload statement is front-loaded.

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 read-only, single-entity history lookup with fully documented parameters and no output schema, the description supplies enough to invoke it correctly, including the default range and cost. Only the return structure and empty-result behavior are left unspecified, a minor gap given the annotations.

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 description coverage is 100%, with both date bounds documented in the schema including formats and defaults, so the baseline is 3. The description only echoes the default 5-year `from` window and adds no syntax or edge-case meaning (e.g. whether `to` is inclusive) beyond the schema.

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 names a specific verb+resource ('Retorna o histórico de dividendos, JCP, bonificações e outros proventos') and scopes it to B3-listed stocks, which cleanly separates it from price/fundamental siblings like get_stock_history or get_stock_fundamentals. It stops short of explicitly naming a sibling it replaces, so it is clear but not maximally differentiating.

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 the use case (fetching corporate-payout history for a Brazilian ticker) and states the default window, but gives no explicit when-to-use versus when-not guidance and does not point to an alternative for price or fundamental data. A cost note ('Custa 1 crédito por chamada') is helpful context for deciding whether to call it, but it is not usage routing.

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.