Skip to main content
Glama

Company versus its sector

infinity_company_vs_sector
Read-onlyIdempotent

Is a company taking more of its sector's money than usual: its share of its sector's dollar volume over the latest session or the last 5 or 20, against its usual share (the median of its last comparable sessions, up to 40, before the window), and the sector's own × normal, in sentences. One company, in a market whose sector shares InfinityVolume publishes. No prices or price changes.

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": "infinity_company_vs_sector"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketNoMarket key or name, e.g. US or Japan. Leave out to find the company in any of the 13 markets.
tickerYesA ticker or company name, e.g. NVDA, Lumentum or 7203.T. A market may lead it, as Japan:7203.T.
windowNoSessions: 1, 5 or 20 (or a week or a month). Default 1 (the latest session).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / market / maxLength
      Previous value: -30New value: +80
    • changedInput schema / properties / ticker / maxLength
      Previous value: -40New value: +80
    • removedInput schema / properties / ticker / minLength
      Removed value: -1
    • changedInput schema / properties / window / anyOf
      Previous value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "maxLength": 4,
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "maxLength": 20,
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / window / description
      Previous value: -"Sessions: 1, 5 or 20. Default 1 (the latest session)."New value: +"Sessions: 1, 5 or 20 (or a week or a month). Default 1 (the latest session)."
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real substance beyond that: how the baseline is computed (median of the last comparable sessions, up to 40, taken before the window), that the sector's own multiple is also reported, and that no price data is returned. It stops short of describing output shape or failure behaviour.

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 long run-on sentence with stacked parentheticals, and the trailing 'in sentences' is ambiguous about output format. The measurement being computed is buried mid-sentence rather than front-loaded. It is dense but not padded with filler, which keeps it above a 2.

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 carry return-value expectations, and 'in sentences' only vaguely signals a narrative response. The metric and baseline methodology are adequately explained for a read-only analytical tool, but the market-coverage restriction and output contents remain imprecise.

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%, so ticker, market and window are already documented with examples and defaults. The description only adds the framing that the baseline sessions precede the chosen window, which is a minor enrichment beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

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 measure: a company's share of its sector's dollar volume over the latest session or last 5/20, against its usual share. That is concrete enough to separate it from siblings like infinity_sector_volume or infinity_sector_rotation. The question-style opening and nested parentheticals make the core operation slower to grasp than it should be.

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 only implied: it is for one company, in a market whose sector shares the product publishes, and it does not cover prices. No alternative tool is named and no explicit when-not condition is given, so the agent must infer that sector-level questions belong to infinity_sector_volume or infinity_sector_rotation.

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