Skip to main content
Glama

Send chat message or offer

send_message

Reply in a conversation with a message, an offer or counter-offer in VND, or both; an offer sent while one is pending counters it. At most 3 agent messages in a row without an answer from the other side, and 3 offers per conversation a day; a fixed-price listing takes no offers, and a message is up to 1,800 characters.

Returns the message_id, its kind and the conversation's app_url. You act for the signed-in person. Every message you send is shown to the other person starting with "🤖 AI:". An offer you make is the person's offer: if the other side accepts it, the person has agreed that price, so offer only what the person told you they would pay or take. Never send phone numbers, emails, links to other sites or account numbers (refused), never ask for payment or a deposit: payment is arranged between the people, never through eno. You cannot accept an offer: tell the person to accept it in the app.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoWhat to say in reply, in the person's words, e.g. "Yes, it is. Could you do 4.5 million?"
offer_amountNoThe price the person offers or counters with, in Vietnamese đồng, e.g. 4500000 for 4.5 million. Leave it out to send only the message
conversation_idYesThe conversation to reply in: its id (such as `cmh0q2x8f0001...`), from list_conversations or contact_seller

Output Schema

NameRequiredDescriptionDefault
kindYes"offer": it carried an offer_amount, shown as an offer card the other side can accept; "text": a message alone
app_urlYesThe conversation's page in the app, where the person sees the reply and accepts a counter-offer
message_idYesThe id of the message just sent (such as `cmh0q2x8f0001...`), as get_conversation lists it among the messages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / kind / description
      Previous value: -"\"offer\" when it carried an offer_amount; \"text\" for a message alone"New value: +"\"offer\": it carried an offer_amount, shown as an offer card the other side can accept; \"text\": a message alone"
    • changedOutput schema / properties / message_id / description
      Previous value: -"The id of the message just sent, as get_conversation lists it"New value: +"The id of the message just sent (such as `cmh0q2x8f0001...`), as get_conversation lists it among the messages"
  2. Changed4 schema fields changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"The conversation to reply in: its `id` from list_conversations, or the `conversation_id` contact_seller returned"New value: +"The conversation to reply in: its id (such as `cmh0q2x8f0001...`), from list_conversations or contact_seller"
    • changedInput schema / properties / message / description
      Previous value: -"What to say in reply, in the person's words: an answer, a question, or a note with the offer"New value: +"What to say in reply, in the person's words, e.g. \"Yes, it is. Could you do 4.5 million?\""
    • changedInput schema / properties / offer_amount / description
      Previous value: -"The price the person offers or counters with, in Vietnamese đồng (3.5 million đồng is 3500000). Leave it out to send only the message"New value: +"The price the person offers or counters with, in Vietnamese đồng, e.g. 4500000 for 4.5 million. Leave it out to send only the message"
    • addedOutput schema / properties / kind / enum
      Added value: +[
      +  "text",
      +  "offer"
      +]
  3. Changed6 schema fields changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"The conversation: its id, from list_conversations or contact_seller"New value: +"The conversation to reply in: its `id` from list_conversations, or the `conversation_id` contact_seller returned"
    • changedInput schema / properties / message / description
      Previous value: -"What to say, up to 1800 characters; the other person sees it starting with \"🤖 AI:\". No contact or payment details"New value: +"What to say in reply, in the person's words: an answer, a question, or a note with the offer"
    • changedInput schema / properties / offer_amount / description
      Previous value: -"An offer or counter-offer in VND, as a whole number (3.5 million is 3500000); leave it out to only send the message"New value: +"The price the person offers or counters with, in Vietnamese đồng (3.5 million đồng is 3500000). Leave it out to send only the message"
    • changedOutput schema / properties / app_url / description
      Previous value: -"Where the person opens this chat"New value: +"The conversation's page in the app, where the person sees the reply and accepts a counter-offer"
    • changedOutput schema / properties / kind / description
      Previous value: -"\"text\" or \"offer\""New value: +"\"offer\" when it carried an offer_amount; \"text\" for a message alone"
    • changedOutput schema / properties / message_id / description
      Previous value: -"The message just sent"New value: +"The id of the message just sent, as get_conversation lists it"
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: rate limits, the 1,800-character cap, the '🤖 AI:' prefix shown to the other person, the binding consequence of an offer being accepted, and the refusal of phone numbers/emails/links/account numbers. Annotations only cover the safety profile (readOnly=false, idempotent=false, destructive=false), so this description carries the real behavioral weight.

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?

Front-loaded with purpose and limits before the return value and safety rules; nearly every clause carries a rule an agent could otherwise violate. The second paragraph is dense and long, but trimming would lose binding constraints rather than filler.

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?

Complete for a write tool with an output schema: it names the returned fields (message_id, kind, app_url) and covers the constraints, refusal rules, and agency caveats an agent needs before sending. Nothing material is left to inference.

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 meaning the schema does not: the counter-offer semantics of an offer sent while one is pending, and the constraint that offers must reflect what the person said they would pay or take. The VND unit and omission-of-offer case are already in the schema.

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 plus the two distinct payload modes: 'Reply in a conversation with a message, an offer or counter-offer in VND, or both.' The parenthetical behavior 'an offer sent while one is pending counters it' further disambiguates offer from message, which no sibling tool covers.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not rules: max 3 agent messages in a row without a reply, 3 offers per conversation per day, fixed-price listings take no offers, and 'You cannot accept an offer: tell the person to accept it in the app.' It also states prohibited content and that payment is never arranged through the platform, which routes the agent away from misuse.

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.

Resources