Skip to main content
Glama

get_lookup_options

查询小型字典选项,用于把自然语言条件映射为ID,例如行业、子行业、融资轮次、省份、发展阶段、机构类型、公司资质、死亡原因和快讯类型(newsletter_type)。不传 lookup_type 时只返回字典类型和数量摘要。标签数量较大,不要用本工具获取标签全集;赛道或标签词映射请调用 search_tags。

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_lookup_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookup_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and does disclose the key branch: omitting lookup_type returns only a summary of dictionary types and counts rather than full option lists. It also warns about a scale limit (tag volume) that would otherwise cause an agent to over-fetch. It stops short of stating explicitly that this is a read-only lookup or how large the result sets can get per type, leaving a small gap.

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?

Three sentences, front-loaded with purpose, then the default-return behavior, then the exclusion plus alternative — a logical order with no filler. The domain enumeration is somewhat long, but it substitutes for a missing enum, so it mostly earns its space.

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?

An output schema exists, so return values need not be described, and the description correctly focuses on selection logic, the null-parameter branch, and the sibling routing. For a single-optional-parameter lookup tool this is nearly complete; the only missing piece is the exact accepted lookup_type strings, which matters given the 0% schema coverage.

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 description coverage is 0% and lookup_type is an unconstrained nullable string with no enum, so the description must supply the value space — it does, by enumerating the concrete dictionary domains an agent can request. It also defines the default behavior when the parameter is null, which the schema only shows as default=null. It does not give exact accepted string values or spellings, so an agent must still infer casing/format.

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 and resource ('查询小型字典选项') and immediately names the concrete domains covered (industry, sub-industry, funding round, province, development stage, institution type, company qualification, death reason, newsletter_type). It also explicitly distinguishes itself from search_tags, so an agent can separate it from the sibling without opening either schema.

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 the intended use case (mapping natural-language conditions to IDs), an explicit exclusion ('不要用本工具获取标签全集'), and the named alternative to use instead ('赛道或标签词映射请调用 search_tags'). It also explains the no-argument case, so both branches of invocation are covered.

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.