Skip to main content
Glama
longbridge

longbridge

Official

Institution Rating Industry Rank

institution_rating_industry_rank
Read-onlyIdempotent

Retrieve industry rankings of peer securities based on institutional analyst ratings. Submit a symbol to access a paginated list of competitors within the same industry.

Instructions

Get peers ranked by institution analyst ratings in the same industry. Paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_jqNoOptional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response.
pageNoPage number (default: 1)
sizeNoPage size (default: 20)
symbolYesSecurity symbol, e.g. "AAPL.US"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.12.0
    • addedInput schema / properties / _jq / description
      Added value: +"Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response."
    • removedInput schema / properties / page / format
      Removed value: -"uint32"
    • removedInput schema / properties / size / format
      Removed value: -"uint32"
  2. Changed2 schema fields changedv0.10.6
    • addedInput schema / properties / _jq
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "InstitutionRatingIndustryRankItem": {
      -      "properties": {
      -        "buy_count": {
      -          "format": "int64",
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "consensus_rating": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "name": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "sell_count": {
      -          "format": "int64",
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "symbol": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "target_price": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "properties": {
      -    "items": {
      -      "items": {
      -        "$ref": "#/$defs/InstitutionRatingIndustryRankItem"
      -      },
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "list": {
      -      "items": {
      -        "$ref": "#/$defs/InstitutionRatingIndustryRankItem"
      -      },
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changedv0.7.1
    • removedInput schema / title
      Removed value: -"InstitutionRatingIndustryRankParam"
  4. Changed12 schema fields changedv0.6.0
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / description
      Removed value: -"One peer in `institution_rating_industry_rank`.\n\nSubset of documented fields; upstream may return more."
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / properties / buy_count / description
      Removed value: -"Buy rating count."
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / properties / consensus_rating / description
      Removed value: -"Consensus rating label."
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / properties / name / description
      Removed value: -"Display name."
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / properties / sell_count / description
      Removed value: -"Sell rating count."
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / properties / symbol / description
      Removed value: -"Security symbol (transformed from `counter_id`)."
    • removedOutput schema / $defs / InstitutionRatingIndustryRankItem / properties / target_price / description
      Removed value: -"Target price."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / description
      Removed value: -"Returned by `institution_rating_industry_rank`. Peers ranked by analyst\nratings.\n\nThe tool description says `list[]`, while the implementation transforms a\ntop-level `items[]` array (rewriting `counter_id` → `symbol`). Both names\nare modelled so the schema matches whichever the upstream emits. Subset of\ndocumented fields; upstream may return more."
    • removedOutput schema / properties / items / description
      Removed value: -"Ranked peers (key the implementation transforms in place)."
    • removedOutput schema / properties / list / description
      Removed value: -"Ranked peers (description's documented key)."
    • removedOutput schema / title
      Removed value: -"InstitutionRatingIndustryRankResponse"
  5. Changed1 schema field changedv0.5.6
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "InstitutionRatingIndustryRankItem": {
      +      "description": "One peer in `institution_rating_industry_rank`.\n\nSubset of documented fields; upstream may return more.",
      +      "properties": {
      +        "buy_count": {
      +          "description": "Buy rating count.",
      +          "format": "int64",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "consensus_rating": {
      +          "description": "Consensus rating label.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "description": "Display name.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "sell_count": {
      +          "description": "Sell rating count.",
      +          "format": "int64",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Security symbol (transformed from `counter_id`).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "target_price": {
      +          "description": "Target price.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Returned by `institution_rating_industry_rank`. Peers ranked by analyst\nratings.\n\nThe tool description says `list[]`, while the implementation transforms a\ntop-level `items[]` array (rewriting `counter_id` → `symbol`). Both names\nare modelled so the schema matches whichever the upstream emits. Subset of\ndocumented fields; upstream may return more.",
      +  "properties": {
      +    "items": {
      +      "description": "Ranked peers (key the implementation transforms in place).",
      +      "items": {
      +        "$ref": "#/$defs/InstitutionRatingIndustryRankItem"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "list": {
      +      "description": "Ranked peers (description's documented key).",
      +      "items": {
      +        "$ref": "#/$defs/InstitutionRatingIndustryRankItem"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "title": "InstitutionRatingIndustryRankResponse",
      +  "type": "object"
      +}
  6. Addedv0.4.5
  7. Removedv0.4.0
  8. Addedv0.3.2
  9. Removedv0.3.1
  10. Addedv0.2.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, covering safety. The description adds the pagination behavior, which is a useful operational detail beyond the annotations. It does not describe the output structure or sorting direction, but given the annotation coverage, this additional context earns a 4.

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?

The description is two short sentences, front-loaded with the core action and scope, and ends with a key behavioral detail (paginated). There is no fluff or redundancy; every word earns its place.

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?

For a read-only, paginated list tool, the description covers the essential semantics: what is returned (peers), the ranking criterion (institution analyst ratings), the scope (same industry), and pagination. There is no output schema, so some return-field details are absent, but for calling the tool correctly, the description is adequate. It could mention that the symbol parameter identifies the focal company, but that is already in the schema.

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% — all four parameters (_jq, page, size, symbol) have descriptions in the schema. The description adds no parameter-specific information, so the baseline 3 applies. No extra semantics beyond the schema are provided.

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 states a specific verb-resource pair: get peers ranked by institution analyst ratings within the same industry. This clearly distinguishes it from siblings like institution_rating (which returns ratings for a symbol), institution_rating_history (history), and industry_rank (which likely ranks industries). The pagination mention adds further specificity.

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?

The description does not explicitly state when to use this tool versus alternatives, nor does it give exclusions. It implies usage through its purpose (e.g., when you need peer ranking by analyst ratings), but no explicit guidance is given. The name and sibling set make it reasonably inferable, but it falls short of a 4 because no alternative is named.

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

Deploy Server

Other Tools