Skip to main content
Glama

resolve_companies

批量把用户给出的公司简称或工商全称解析为 IT桔子 company_id,返回每个输入名称的候选匹配;工商名称、工商注册名称、工商全称对应字段 registered_name。适合处理用户给定的一批公司名单,例如先解析19家独角兽公司,再调用 get_company_funding_events 查询融资历史。

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": {
      "names": "<names>"
    },
    "name": "resolve_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYes
fieldsNo
exact_onlyNo
limit_per_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "additionalProperties": true,
      -    "title": "Result",
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • changedOutput schema / title
      Previous value: -"resolve_companies_toolOutput"New value: +"resolve_companies_toolDictOutput"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description must carry the full behavioral burden. It discloses the important behaviors: the tool returns multiple candidate matches for each input name (implying fuzzy matching), and names the canonical field registered_name for business names. The description does not cover pagination, error behavior or rate limits with a batch input, but the core resolution semantics are clear.

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?

Two front-loaded sentences: the first states the function and return shape, the second states the workflow. The 19-unicorn example is illustrative rather than wasteful, because it makes the downstream call concrete. It is slightly padded, but no sentence is redundant.

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?

The tool is a four-parameter lookup with no annotations, and an output schema already covers the return structure, so the description need not detail the response payload. It covers purpose, result ambiguity and workflow well. It leaves gaps around the two boolean and integer tuning parameters, which is the main remaining hole for a tool of this complexity.

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 description coverage is 0%, so the description must compensate for all four parameters. It adds real meaning for names (short names or full registered names accepted) and clarifies that registered_name is the field alias for business names, which hints at the fields parameter. However, exact_only and limit_per_name are not explained at all, and the description does not clarify which field names the fields parameter accepts.

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 states a specific verb and resource: it batch-resolves either a company short name or a full registered business name into an IT桔子 company_id and returns candidate matches for each input name. This is much more specific than a generic search. However, it never explicitly contrasts itself with the sibling search_companies, so an agent must infer that distinction from the batch-resolution framing.

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 gives a clear use case: when the user supplies a list of company names, resolve them first, then chain into get_company_funding_events. It gives no explicit exclusion (for example, for a single company the agent should use search_companies), so the boundary between this tool and its siblings is implied rather than defined.

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.