Skip to main content
Glama

Search Entities

search_entities
Read-onlyIdempotent

Search PermID for organizations, people, instruments, or quotes by name. Returns PermID, primary type, name, and a brief context. Use get_entity with the PermID for the full linked-data record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo1-100 (default 20)
queryYesFree-text search term
entity_typeNoRestrict by type

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
peopleYesList of matching people
quotesYesList of matching quotes
instrumentsYesList of matching instruments
organizationsYesList of matching organizations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "Apple Inc"
      +  },
      +  {
      +    "entity_type": "organization",
      +    "limit": 10,
      +    "query": "Tesla"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "instruments": {
      +      "description": "List of matching instruments",
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "description": "Country of instrument",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "homepage": {
      +            "description": "Homepage URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Instrument name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "org_status": {
      +            "description": "Organization status code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid": {
      +            "description": "PermID numeric identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid_url": {
      +            "description": "Full PermID URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ric": {
      +            "description": "Primary RIC identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ticker": {
      +            "description": "Primary ticker symbol",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "description": "Entity type (@type from API)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "organizations": {
      +      "description": "List of matching organizations",
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "description": "Country of organization",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "homepage": {
      +            "description": "Organization homepage URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Organization name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "org_status": {
      +            "description": "Organization status code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid": {
      +            "description": "PermID numeric identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid_url": {
      +            "description": "Full PermID URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ric": {
      +            "description": "Primary RIC identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ticker": {
      +            "description": "Primary ticker symbol",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "description": "Entity type (@type from API)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "people": {
      +      "description": "List of matching people",
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "description": "Country of person",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "homepage": {
      +            "description": "Homepage URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Person name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "org_status": {
      +            "description": "Organization status code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid": {
      +            "description": "PermID numeric identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid_url": {
      +            "description": "Full PermID URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ric": {
      +            "description": "Primary RIC identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ticker": {
      +            "description": "Primary ticker symbol",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "description": "Entity type (@type from API)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "quotes": {
      +      "description": "List of matching quotes",
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "description": "Country of quote",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "homepage": {
      +            "description": "Homepage URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Quote name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "org_status": {
      +            "description": "Organization status code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid": {
      +            "description": "PermID numeric identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permid_url": {
      +            "description": "Full PermID URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ric": {
      +            "description": "Primary RIC identifier",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_ticker": {
      +            "description": "Primary ticker symbol",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "description": "Entity type (@type from API)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "organizations",
      +    "instruments",
      +    "quotes",
      +    "people"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/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. The description adds value by specifying return fields (PermID, type, name, brief context) and the search scope, consistent with annotations. No contradictions.

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, front-loaded with purpose and output, followed by a clear directive for related tool usage. Every sentence adds value with no redundancy or filler.

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?

Given the presence of an output schema, the description sufficiently covers purpose, output fields, and a sibling tool reference. It could mention default limit or pagination, but the schema provides bounds. Overall complete for a search tool.

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 descriptions for all three parameters. The description does not add new parameter detail beyond stating the search is 'by name' (implicitly tying to query). It adds no semantics for limit or entity_type, but the schema already covers them adequately.

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 verb 'Search' and the resource 'PermID' along with the types of entities (organizations, people, instruments, quotes) and what it returns. It distinguishes itself from sibling tools like get_entity by specifying the scope of results (brief context vs. full record).

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 directs users to use get_entity when they need the full linked-data record, providing clear when-to-use guidance. It does not mention other siblings like resolve_entity, but the single alternative is sufficient for common cases.

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.