Skip to main content
Glama

SLDX API

Fatos relevantes e comunicados ao mercado de uma ação

get_stock_documents
Read-onlyIdempotent

Retorna documentos regulatórios e comunicados divulgados por uma empresa à CVM (fatos relevantes, comunicados externos) num período (padrão: último ano). 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_documents"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, so the description's added value is the per-call cost of 1 credit, which is real operational context an agent cannot get from structured fields. It still omits return shape or any result-size/pagination limits, keeping it below 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?

Two short sentences, front-loaded with purpose and document types, followed by the cost caveat. Nothing is redundant or padded.

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?

Parameter coverage is complete via the schema and annotations handle the safety profile, but with no output schema the description gives no indication of what a document record contains (date, type, link, summary). For a document-retrieval tool that is a meaningful gap, though not a blocking one.

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%, including the YYYY-MM-DD formats and defaults for from/to and the ticker example, so baseline is 3. The description's note about the default period only restates what the schema already declares for from/to.

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?

Names a specific verb and resource set: regulatory documents and market announcements filed with the CVM, with concrete document types (fatos relevantes, comunicados externos) and a time scope. An agent can distinguish it from price/dividend/fundamentals siblings, though it never names an alternative 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 is implied by the resource type (regulatory filings only), and the default one-year window is stated. There is no explicit when-to-use versus a sibling like get_stock_information, and no when-not or prerequisite 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.