Skip to main content
Glama

Calera FINSEC — Certified SEC Memory

Query SEC Sector Peers

query_sec_sector_peers
Read-only

Returns certified SEC EDGAR XBRL metrics across an industry peer group dynamically derived from SEC filing SIC codes and 10-K business segment disclosures. Use this for sector screening or when no specific company ticker is provided.

Input Schema

NameRequiredDescriptionDefault
limitNoOptional peer limit, default 5
periodNoOptional filing period, e.g. FY2025
metricsNoOptional comma-separated or array of SEC XBRL metrics, e.g. Revenues,OperatingIncome,TotalLongTermDebt
low_tokensNoOptional. When true, returns compact JSON schema.
sector_or_industryYesIndustry or sector description as declared in SEC filings, e.g. 'photonics', 'optics', 'semiconductors', 'pharmaceuticals', 'aerospace'

Output Schema

NameRequiredDescriptionDefault
stNoCompact status indicator (OK | REFUSE)
perNoCompact period string
valNoCompact numeric value
hashNoCryptographic filing audit hash
cellsNoValuation pack verified cells dictionary
valueNoVerified financial metric numeric value or computed arithmetic result
periodNoFiscal reporting period
reasonNoExplanation when SAFE_REFUSAL is returned
statusNoVerification status: VERIFIED_SUCCESS | SAFE_REFUSAL | COMPLETE | OK
companyNoCompany name or ticker symbol
conceptNoUS-GAAP / XBRL financial concept
operandsNoUnderlying verified metric operands with accessions
formattedNoFormatted monetary or percentage string
provenanceNoSEC EDGAR filing provenance details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already classifies this as safe, and the description adds context by describing dynamic peer-group construction from SEC filings and 10-K disclosures. It does not cover pagination or empty-result behavior, but the read-only disclosure plus source detail is adequate.

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 sentences deliver the full core description: first establishes what the tool returns and how peers are derived, second states when to use it. No filler or repetition of elements that are already visible in structured metadata.

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 one required parameter, a high-coverage schema, readOnly annotation, and output schema present, the description is sufficiently complete for a peer-group query tool. It could include more explicit exclusion guidance, but the combination of description and structured metadata is not missing major context.

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%, so the input schema already documents all five parameters. The description adds general peer-group context but does not materially augment the detailed parameter descriptions in the schema.

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 certified SEC EDGAR XBRL metrics for an industry peer group, and explains that the peer group is dynamically derived from SIC codes and 10-K disclosures. It further differentiates from siblings by positioning it for sector screening and non-ticker-specific queries.

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

Usage Guidelines4/5

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

The description explicitly says to use this tool for sector screening or when no specific company ticker is provided, giving clear situational guidance. It does not name alternative ticker-level tools, so it falls just short of a full when-not/alternatives explanation.

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.