Skip to main content
Glama

LesiAI Insight

search_entities

Search Chinese enterprises, institutions and public business contacts. Use this when the user asks to find companies by region, industry, category, score or badge. Free keys return at most 5 masked results; Pro keys return up to 50 public contacts. This tool is read-only.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNoResult order.
tagsNoEntity/industry/region tag codes.
badgeNoScore badge filter.
limitNoMaximum results. Free keys are capped at 5.
queryNoCompany name, domain or keyword.
domainNoExact company domain for a single-entity lookup.
regionNoProvince or city, for example 北京 or 广东.
industryNoIndustry name, for example 工业制造.
has_emailNoOnly return entities with a public email.
has_phoneNoOnly return entities with a public phone.
max_scoreNoMaximum AI visibility score.
min_scoreNoMinimum AI visibility score.
category_l1NoTop-level entity category code.
category_l2NoSecond-level category or e-commerce platform code.
include_reportNoInclude a public report summary when domain is exact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it delivers the two behaviors an agent most needs: free keys return at most 5 masked results while Pro keys return up to 50 public contacts, and the operation is read-only. The tier/masking disclosure is important because it changes how results should be presented to a user. It does not cover pagination interplay between page and limit or any error/permission behavior, which keeps it below a 5.

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?

Three sentences with zero waste: scope first, then the when-to-use trigger, then the tier limits and read-only property. Each sentence earns its place and the most decision-relevant facts are front-loaded.

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 16-parameter, zero-required-parameter search tool with no annotations and no output schema, the description covers scope, trigger conditions, result caps by key tier, and mutation risk. What is missing is any indication of the shape of a returned result (fields, masking extent) and pagination behavior, which matters for an agent that must summarize results.

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 94%, so the schema already documents all 16 parameters including the free-key cap on limit and the region/industry examples. The description's parameter content (region, industry, category, score, badge, tier-based result caps) largely restates what the schema states. Baseline 3 applies when the schema does the heavy lifting and the description adds no syntax or format detail beyond it.

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?

States a specific verb ('Search') and a concrete resource domain ('Chinese enterprises, institutions and public business contacts'), which is enough for an agent to tell this apart from a policy search or a benchmark lookup. It stops short of explicitly contrasting itself with the two sibling tools, so it is clear but not fully differentiated.

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?

Provides an explicit trigger condition: use it when the user asks to find companies by region, industry, category, score or badge. That maps directly onto the main filter parameters and gives an agent a clear entry point. It names no exclusions or alternatives (e.g. when to prefer search_policies or get_industry_benchmark), so routing guidance is incomplete.

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