Skip to main content
Glama

get_sector_volume_performance

Read-only

Share volume (shares traded) for US listings, by sector and market-cap bucket, over one-week, one-month, three-month, six-month and one-year windows. Each window also shows the change against the window before it. Use it for questions like "is trading in small-cap Tech picking up" or "where is volume drying up".

Every filter is optional. Filters given together are ANDed (e.g. sectors=["Technology"] +
marketcap_types=["Small-cap"]). Unset filters are left out of the request. limit counts
dates, not rows: each date has one row per sector and market-cap bucket matched.

Returns {"filters", "count", "rows", "note"}, one row per (date, sector,
marketcap_type). A row is {date, sector, marketcap_type, one_week, one_month,
three_months, six_months, one_year, one_week_pct, one_month_pct, three_months_pct,
six_months_pct, one_year_pct}.
- one_week … one_year are share volume over that window.
- *_pct is the PERCENT change against the window just before it of the same length (e.g.
  the last month vs the month before): 12.5 = +12.5%. Show it as it is; do not multiply
  by 100.

FLOW: pair with get_sector_price_performance to see whether price moves came on rising
or falling volume.

An empty result is a valid answer, not an error: `note` is set only then. A 422 means a
filter failed validation. A 401 means the sign-in expired (your MCP client re-runs
OAuth). A 429 means the rate limit or the plan quota was hit. Requires auth (your MCP
client attaches the OAuth bearer automatically); counts toward plan quota.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sector_volume_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many of the most recent dates to return (1-252, default 1 = latest only).
sectorsNoOnly these sectors, e.g. ["Technology", "Energy"]. Omit for all 11.
marketcap_typesNoOnly these market-cap buckets, e.g. ["Small-cap", "Micro-cap"]. Omit for all five.

Output Schema

NameRequiredDescriptionDefault
noteNoSet only when no rows came back: an empty result is a valid answer.
rowsYes
countYesRows returned, one per (date, sector, marketcap_type).
filtersYesThe request body sent to the backend (unset filters omitted).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true: it discloses that an empty result is valid rather than an error and that `note` is populated only then, maps 422/401/429 to distinct causes (filter validation, expired sign-in, rate limit/plan quota), and states that auth is attached automatically and calls count against plan quota. The subtle point that `limit` counts dates, not rows, is exactly the kind of behavior an agent could not infer from schema or annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then filters, then return shape, then error/flow guidance — a logical progression with useful headers and pointers. It is on the long side and the exhaustive row-field enumeration duplicates what the output schema already provides, which is the main avoidable weight.

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?

Complete for a three-parameter analytical read tool: filters, limit semantics, row grain, percent-change interpretation (12.5 = +12.5%, do not multiply by 100), error handling, auth and quota are all covered. Nothing an agent needs in order to call it correctly and interpret the response is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining limit's unit (dates, not rows) and that each date yields one row per sector/market-cap bucket matched, which materially changes how an agent sizes the limit. It also clarifies AND semantics and that unset filters are omitted entirely, though it does not spell out the enum values the schema already lists.

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?

States a specific verb+resource (share volume, shares traded) for US listings broken out by sector and market-cap bucket across five named windows, plus the derived percent-change measure. It is immediately distinguishable from get_sector_price_performance, which the description explicitly frames as the price-side counterpart.

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

Usage Guidelines5/5

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

Gives concrete use cases in the user's own vocabulary ("is trading in small-cap Tech picking up", "where is volume drying up") and routes the agent to the sibling tool by naming the pairing: volume with get_sector_price_performance to see whether price moves came on rising or falling volume. It also explains that all filters are optional and ANDed together, so the agent knows how to construct both broad and narrow queries.

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.

Resources