Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

search_contact

Find LINE contacts read-only by user ID, phone number, or invite/QR ticket to retrieve their MID and display name without adding a friend or sending a request.

Instructions

Pure read-only contact search on LINE TalkService. Looks up a person by LINE ID (userid), phone number(s) (phone), or an invite/QR ticket (ticket). Never adds a friend or sends a friend request — use add_contact for that. Returns mid + display_name.

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": {
      "by": "<by>",
      "value": "<value>"
    },
    "name": "search_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYesIdentifier type to search by.
valueYesLINE ID or ticket as a string; phone numbers as a non-empty string array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.6

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does assert the safety profile directly: read-only, no friend request side effect, and it names the return fields (mid + display_name). It stops short of describing not-found behavior, error cases, or any rate limiting on repeated lookups.

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?

Four short sentences, front-loaded with the read-only scope before the alternatives and return shape; no filler. The inline backticked identifier names slightly muddy the parameter picture rather than clarifying it, which keeps it off a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter lookup tool with no output schema, the description covers purpose, identifier semantics, non-mutating guarantee, the competing tool, and the returned fields — everything an agent needs to call it correctly.

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 coverage is 100%, so baseline would be 3, but the description goes further by mapping each identifier type to the accepted value shape (phone numbers as a plural set, LINE ID and ticket as single values), which explains when the array form of `value` applies. Minor friction: it names userid/phone/ticket as if they were parameters when they are enum values of `by`.

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 ("contact search on LINE TalkService") and immediately bounds scope ("pure read-only"). The three lookup identifiers are enumerated, and the tool is explicitly separated from add_contact, so an agent can identify it without opening the schema.

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?

Gives clear when-to-use context (lookup by LINE ID, phone, or invite/QR ticket) and an explicit when-not-to-use with the correct alternative: "Never adds a friend or sends a friend request — use add_contact for that." It doesn't disambiguate against other lookup-flavored siblings such as find_contact or send_contact, which is the only gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.