Skip to main content
Glama
razvangirgiz

wazap-mcp

by razvangirgiz

Find who the user means

find_contact
Read-onlyIdempotent

Resolve a person, group, nickname, filed detail, number, or ID to a WhatsApp contact chat_id before drafting, or list everyone under a tag; ask when ambiguous.

Instructions

Who a name, nickname, relationship ("mama"), filed detail ("AP-123"), group, number or id means, before drafting. resolved: contact.chat_id, with number, note, tags, details and, when writing, context. ambiguous or not_found: ask the user; never guess. Several accounts: see fix. tag: its people.

Input Schema

NameRequiredDescriptionDefault
tagNoList everyone filed under this tag instead
kindNoany
nameNoWhat the user calls them ("Ana", "mamei", "fotbal"), or a number or id
limitNoAmbiguous: at most 5 per account; a tag list: up to 50
qualifierNoTells two apart: "contabilitate", a group, the last 4 digits
account_idNo
include_contextNoRecent messages and the user's style, when resolved in a write session

Output Schema

NameRequiredDescriptionDefault
fixNoWhat to do next, when not resolved
nextNoResolved: how a message to them starts
notesNoCaveats to act on or tell the user
queryYes
statusYes
closestNoOnly when not_found
contactNoOnly when resolved
contextNoOnly when resolved, in a session that can write: what a draft to them is written after
omittedNoOnly when listed and cut by limit: how many more on each account
contactsNoOnly when listed: everyone filed under the tag
can_draftNoResolved in a session that cannot send
account_idNoThe account that answered; null when several accounts were searched and none answered alone
candidatesNoOnly when ambiguous; best first
accounts_searchedNo
accounts_unavailableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • removedInput schema / properties / account_id / description
      Removed value: -"Account id"
  2. Addedv1.0.3

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the success shape (contact.chat_id plus number, note, tags, details, and context when writing) and the ambiguity/not_found policy. Gaps remain: 'see fix' is unexplained and it doesn't clarify account scoping behavior. Output schema covers the return payload, so this is solidly above baseline.

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?

It is short and front-loads the core resolution act, but the compression goes too far: sentence fragments and dangling references ('see fix') cost parseability. Space is saved at the expense of clarity rather than through it.

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 7-parameter, output-schema-backed lookup with strong annotations, the description covers resolution inputs, failure policy, write-session context, and the tag-listing mode. What's missing is a clear account_id/multi-account explanation and any note on limits, so it is good but not fully self-contained.

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 coverage is 71%, so most parameters are already documented. The description reinforces tag listing ('tag: its people') and hints at qualifier disambiguation ('tells two apart' is in schema, not description), but it adds little on kind, limit, account_id, or include_context beyond what the schema states. Baseline 3 is appropriate.

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 job: resolve whatever the user said (name, nickname, relationship, filed detail, group, number, id) into a contact before drafting. It distinguishes itself from plain listing by framing this as 'who the user means', but the phrasing is telegraphic and it never names the obvious sibling (list_contacts) it replaces.

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?

It gives real usage context — call it 'before drafting', and on 'ambiguous or not_found: ask the user; never guess' — which tells the agent what to do when resolution fails. The 'Several accounts: see fix' branch points somewhere useful but the referent ('fix') is opaque and not a listed sibling, weakening the routing.

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