Skip to main content
Glama
victor-halla

wwebjs-mcp

by victor-halla

message_getPayment

Retrieve payment details from a WhatsApp message by providing session, chat, and message identifiers.

Instructions

[Message] Get the payment details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdNoThe chat id which contains the message
messageIdNoUnique WhatsApp ID for the message
sessionIdYesUnique identifier for the session (alphanumeric and - allowed)
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 burden of disclosing behavior. It only states 'Get the payment details' without explaining side effects, required permissions, return format, or behavior when the message is not a payment. This is a simple read operation but lacks any additional transparency.

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 a single, front-loaded sentence with no wasted words. It is concise and easy to parse. However, it is extremely terse and could benefit from a bit more context, so it earns a 4 rather than a 5.

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?

Given the lack of annotations and output schema, the description is incomplete. It does not explain what 'payment details' means, when they are available, or what the return value looks like. The schema explains the parameters but not the overall behavior or context of the tool.

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?

The input schema covers 100% of parameters with descriptive text for each (sessionId, chatId, messageId). The description adds no additional parameter semantics beyond what the schema already provides. Baseline of 3 is appropriate given full schema coverage.

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 uses a specific verb ('Get') and a clear resource ('payment details'), which distinguishes it from sibling tools like message_getInfo or message_getMentions. The '[Message]' prefix helps contextualize it as a message-related operation. However, it could be more explicit that it retrieves payment details from a message, but overall it is clear.

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?

No guidance is provided on when to use this tool versus alternatives. It does not mention any exclusions, prerequisites, or mention sibling tools like message_getInfo for general message details. There is no implied usage context beyond the tool name and description.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/victor-halla/wwebjs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server