Skip to main content
Glama

Leave your user's email address for a conversation

set_buyer_email

Leave your user's email address in a conversation that ask_seller started, to move the conversation to their Egonex account. Egonex emails that address a confirmation link (it works once and expires in 24 hours); nothing changes until your user opens it, and the answer is the same whatever the address (email_status pending). Once confirmed, the conversation and the messages already sent in it belong to the Egonex account for that address (a guest account is set up if there isn't one): your user can read and answer the seller's replies on Egonex, what you ask sellers with this conversation_id is sent from that account, and Ego's answers count for that account rather than for this conversation. Each conversation needs its own confirmation, also when you start a new one with the same address. A conversation keeps the first address that is confirmed (email_already_set for another one). Pass accept_terms=true only if your user agreed to Egonex's Terms of Service (https://legal.egonex.ai/en/terms) and Privacy Policy (https://legal.egonex.ai/en/privacy); the confirmation email says that confirming means agreeing to them. At most 5 times an hour and 3 different addresses a day per conversation (slow_down says when to try again). Errors end with their code: not_found, invalid_input, email_already_set, slow_down.

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>",
      "buyer_email": "<buyer_email>",
      "accept_terms": "<accept_terms>"
    },
    "name": "set_buyer_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyer_nameNoOptional name shown to the seller.
buyer_emailYesYour user's email address. Egonex sends a confirmation link there.
accept_termsYestrue only if your user agreed to Egonex's Terms of Service (https://legal.egonex.ai/en/terms) and Privacy Policy (https://legal.egonex.ai/en/privacy).
conversation_idYesFrom ask_seller.

Output Schema

NameRequiredDescriptionDefault
nextYesWhat to do next.
email_statusYespending = a confirmation link was sent (if the address can get email from Egonex) and your user hasn't opened it yet; confirmed = this address is confirmed for the conversation.
conversation_idYesThe conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: a single-use confirmation link valid 24 hours, nothing changing until the user opens it, guest-account creation, ownership of the conversation and its existing messages transferring, and future messages being attributed to that account. It also discloses rate limits (5/hour, 3 addresses/day) and enumerates the error codes, which is exactly the behavioral context annotations cannot express.

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-loads what the tool does and the fact that nothing changes until confirmation, then layers constraints and errors. It is a dense single block and repeats the account-attribution idea twice, but almost every clause carries information an agent would otherwise have to guess.

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?

Covers the full lifecycle of a moderately complex, non-idempotent write: pending state, confirmation, ownership transfer, per-conversation scope, consent, rate limits, and error codes. With an output schema present, it does not need to describe return payloads, so nothing material is missing.

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 the baseline is 3, but the description adds real meaning: accept_terms is tied to explicit Terms and Privacy links and to the consent statement in the confirmation email, and the address-immutability rule explains why a second buyer_email fails. buyer_name is the only parameter it does not touch.

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 ('Leave your user's email address in a conversation') plus the underlying goal (move the conversation to their Egonex account). It names ask_seller as the origin of conversation_id, so an agent can place it among the siblings without opening the schema.

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?

Makes clear this is used after ask_seller to transfer a conversation to an Egonex account, and gives practical conditions: one confirmation per conversation, the first confirmed address wins, and a new conversation needs its own confirmation even with the same address. It stops short of naming an alternative tool for a different outcome, but no plausible sibling does this job.

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