Skip to main content
Glama
WeightedShares SEC EDGAR MCP Server

WeightedShares SEC EDGAR MCP Server

get_company_buybacks_sbc

Read-onlyIdempotent

Compare company buybacks against stock-based compensation and RSU tax withholdings using SEC EDGAR XBRL data, and retrieve True FCF, diluted share counts, and linked filings by ticker.

Instructions

Retrieve SEC EDGAR XBRL-backed Buybacks vs. Stock-Based Compensation (SBC), RSU tax withholdings, Standard FCF, True FCF (FCF minus SBC), cover-page shares vs. weighted-average diluted shares, and clickable 10-K/20-F/10-Q filing links for any of 10,400+ U.S. public companies.

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_company_buybacks_sbc"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoLookback window for cumulative flows and diluted share change (default: 5y).
tickerYesU.S. stock ticker symbol (e.g., AAPL, NVDA, PLTR, SNOW, BRK-B).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is covered. The description adds useful provenance context that annotations cannot convey: the data is XBRL-sourced from SEC filings, spans 10-K/20-F/10-Q, and includes clickable filing links. It says nothing about data freshness, rate limits, or whether missing XBRL tags yield nulls, which are the remaining behavioral unknowns.

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?

It is a single front-loaded sentence with the verb first and no filler prose. However, it is an overstuffed comma-separated noun pile spanning nine metrics, and the issuer-count qualifier is tacked onto the end rather than front-loaded or split into a return-value sentence.

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 must convey return contents, and it does list the metric families and the filing links. Gaps remain: units and scaling (USD millions?), annual vs. quarterly vs. TTM aggregation, and response shape are unstated, and the name mentions only buybacks/SBC while returns include FCF and share counts.

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 100%, with both ticker and period fully documented including the enum and the 5y default, so the schema carries the parameter burden. The description adds only marginal meaning, notably the 10,400+ U.S. company universe implied for ticker and that results involve cumulative flows and diluted share change. That is baseline-level added value, not compensation for a gap.

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?

A specific verb ("Retrieve") plus a precise resource (SEC EDGAR XBRL buybacks vs. SBC, RSU withholdings, Standard/True FCF, share counts, filing links). It goes well beyond the tool name, which only mentions buybacks and SBC. It never distinguishes itself from siblings like compare_companies_dilution or get_superinvestor_dilution, which also touch dilution/share data, so an agent cannot rule out overlap from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives scope ("any of 10,400+ U.S. public companies") but no when-to-use or when-not guidance. There is no statement that this is the single-company path versus the comparative or screening paths implied by siblings, and no prerequisites such as valid ticker formats beyond the schema example.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.