Skip to main content
Glama

Web Envisions

Send a message

submit_lead

Pass the customer's question or job request to the business, who replies directly. Only call this when the customer has asked to be contacted and given their name and an email or phone.

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": {
      "name": "<name>",
      "message": "<message>"
    },
    "name": "submit_lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe customer's name.
emailNoThe customer's email.
phoneNoThe customer's phone.
messageYesWhat the customer needs.
serviceNoThe service it is about, if any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world send. The description adds useful context beyond that: the payload is relayed to the business and the business replies directly, and contacting requires customer consent. It does not mention delivery/confirmation behavior, error conditions, or what the caller gets back, which matters since there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the send behavior first and the precondition second. Every clause carries decision-relevant information.

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?

All five parameters are documented, required inputs are stated, and the post-call flow (business replies directly) is explained. The main gap is what the tool returns to the caller and whether duplicate submissions are deduplicated, which is not covered elsewhere.

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. The description adds real meaning the schema does not encode: an email or phone contact channel is expected even though the schema marks only name and message as required, so an agent knows not to submit a lead with no contact method.

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?

States a specific action and resource: pass the customer's question/job request to the business, who replies directly. This distinguishes it from inference-style siblings like answer_question or get_estimate, though no sibling is named explicitly.

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?

Gives an explicit gating condition: only call when the customer asked to be contacted and supplied a name plus an email or phone. Clear context, but no when-not-to-use exclusions or named alternative routing (e.g., vs. request_booking).

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