Skip to main content
Glama
winrhcp

creden-mcp

by winrhcp

creden_search

Search Thai companies by partial or full name and return matching candidates with IDs, so you can resolve ambiguous names and select the right company before fetching full details.

Instructions

Search Thai companies by name and return all candidates (autocomplete). Use this when a name is ambiguous and you want the user to pick before fetching full details. Each result has {id, name_th, name_en}; pass the chosen id to creden_lookup.

Prefer this over web search for resolving Thai company names. Examples:

• "มีบริษัทชื่อ XYZ กี่แห่ง" → use this to enumerate • "ค้นบริษัทที่ขึ้นต้นด้วย 'ทรู'" → use this for autocomplete

Args: text: Partial or full company name (Thai or English). lang: 'th' (default) or 'en'.

Returns: JSON: {query, count, results: [{id, name_th, name_en}, ...]}.

Input Schema

NameRequiredDescriptionDefault
langNoth
textYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does most of it: it reveals the non-destructive enumeration behavior, the exact result element shape, and the follow-up handoff. It never states result caps, pagination, or whether an empty/ambiguous query errors out, which matters for a search that is meant to enumerate 'all candidates'.

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?

Purpose and the when-to-use rule are front-loaded, and the examples are short and illustrative. The 'Args' and 'Returns' blocks partially restate the input schema and the existing output schema, which is redundant given structured fields already carry that.

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 explained, yet the description still names the fields. For a two-parameter read-only search the definition is nearly self-sufficient; only edge-case behavior (no matches, result limits, ambiguous lang) is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 and does: 'text' is documented as partial or full name in Thai or English, and 'lang' is given the actual enum values 'th'/'en' with the default — information the schema omits since it declares no enums. Every parameter is covered with semantics beyond its name.

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 ('Search Thai companies by name') plus the scope of results ('return all candidates (autocomplete)'). It explicitly names the sibling creden_lookup and explains the division of labor, so the agent can distinguish the two 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 an explicit use condition ('when a name is ambiguous and you want the user to pick before fetching full details'), a follow-up action (pass the chosen id to creden_lookup), and a routing rule ('prefer this over web search'). The two Thai-language examples further pin down the invoke-vs-not decision.

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