Skip to main content
Glama

Retrouver un contact par son identifiant de canal

ficiel_get_lead_by_handle
Read-onlyIdempotent

AFFICHE UN ÉCRAN (le ou les contacts trouvés, avec leur fiche). Retrouve un ou plusieurs contacts à partir d'un identifiant de canal (@pseudo Instagram, numéro WhatsApp, identifiant LinkedIn) OU de son nom affiché (prénom, nom, nom de profil ; recherche partielle, insensible à la casse et aux accents, tous canaux si channel est omis), ou une conversation de groupe par son nom (résultat marqué is_group, avec son conversation_id). Chaque résultat porte un link ouvrable dans un navigateur (URL par identifiant, ouvre toujours) et un link_readable lisible (/inbox/@pseudo@canal) quand la fiche le permet. Meilleur effort : un nom absent des fiches peut figurer dans le contenu des messages.

Input Schema

NameRequiredDescriptionDefault
handleYes@pseudo, numéro de téléphone, identifiant tel qu'affiché sur le canal, ou nom affiché du contact (partiel accepté).
channelNoCanal : instagram, whatsapp, linkedin, telegram ou messenger.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent, non-destructive profile, so the bar is lower, yet the description still adds substantial behavioral context: the is_group marker and conversation_id for groups, the best-effort caveat that a missing name may appear in message content, and the case/accent-insensitive partial matching. It stops short of describing pagination or result limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the primary action, but it is a single run-on block that packs lookup modes, group handling, link fields, and best-effort caveats into dense clauses. It is not padded, but the wall-of-text structure reduces scannability.

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?

With no output schema and only two parameters, the description carries the disclosure burden and does so well, covering the shape of results (link, link_readable, is_group) and match semantics. Only pagination/result-count behavior is left unaddressed, which is a minor gap for a read tool.

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 is 3, but the description adds real meaning beyond the schema: it clarifies that `handle` may be a @pseudo, phone number, or display name, that matching is partial and accent/case-insensitive, and that omitting `channel` searches all channels. That is genuine semantic value on top of the structured fields.

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 (retrieve one or more contacts by channel identifier or display name) and enumerates the distinct lookup modes, including group conversations. It is far more specific than a tautology, but it never names a sibling (ficiel_get_lead, ficiel_search, ficiel_get_lead_context) to disambiguate which one an agent should pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the description explains that omitting `channel` searches all channels and that partial/name lookups are accepted, which hints at when to reach for this tool. However, it gives no explicit when-not or 'use X instead' routing against the many lead-lookup siblings, so an agent must infer the boundary.

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.