Skip to main content
Glama
yehudashtein

wa-bridge-mcp

by yehudashtein

get_direct_chat_by_contact

Retrieve WhatsApp direct chat metadata by sender phone number to identify and access the matching conversation.

Instructions

Get WhatsApp chat metadata by sender phone number.

Args:
    sender_phone_number: The phone number to search for

Input Schema

NameRequiredDescriptionDefault
sender_phone_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Get' implies a read operation, but the description does not state permissions, side effects, not-found behavior, or what 'metadata' includes.

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?

The description is short and front-loaded, with the core purpose in the first sentence and the parameter listed immediately after. There is little waste, though the Args formatting is somewhat mechanical.

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

Completeness2/5

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

The tool has no annotations and no output schema, so the description should explain more about the return value and edge cases. It does not describe what chat metadata is returned or how missing contacts are handled.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description only says the parameter is 'The phone number to search for.' It does not specify expected format, country code handling, or matching behavior, so it does not compensate for the missing schema descriptions.

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: get WhatsApp chat metadata by sender phone number. It is clear what the tool does, but it does not explicitly distinguish itself from similar siblings such as get_chat or get_contact_chats.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives. The phrase 'by sender phone number' implies the lookup key, but the description does not name sibling tools or state exclusions.

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