Skip to main content
Glama

Edit Lead

edit_lead
DestructiveIdempotent

Edit an existing lead (found by lead_id or lead_uuid), scoped to the caller's merchant. Only non-null fields are updated. lead_faqs replaces the whole FAQ list ({"summary", "text"} entries). The website can be moved with seliee_website_id or seliee_website_uuid.

Input Schema

NameRequiredDescriptionDefault
lead_idNo
lead_faqsNo
lead_jsonNo
lead_slugNo
lead_typeNo
lead_uuidNo
lead_titleNo
lead_posterNo
lead_contentNo
lead_keywordsNo
lead_languageNo
lead_descriptionNo
seliee_website_idNo
seliee_website_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description earns credit by explaining why: lead_faqs replaces the entire FAQ list. It also discloses the partial-update contract and merchant scoping, which annotations cannot express. It stops short of stating auth requirements, revertibility, or what the response looks like.

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?

Four tight sentences, front-loaded with the mutation contract and lookup keys. No filler, though the FAQ and website sentences could be merged into a single 'field notes' block for faster scanning.

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

Completeness3/5

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

Destructive semantics and partial-update behavior are adequately covered for a mutation tool with no output schema. However, with zero required parameters it never says whether lead_id or lead_uuid is mandatory, and the majority of payload fields are undocumented, leaving real ambiguity about how to form a correct call.

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% across 14 parameters, so the description carries full burden. It covers only the lookup keys, the lead_faqs entry shape, and the website move; lead_json, lead_type, lead_slug, lead_keywords, lead_language and the other content fields are left entirely unexplained despite being ambiguous.

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 verb and resource (edit an existing lead) plus lookup keys and merchant scoping. It does not name the competing siblings (update_lead_keys, publish_lead, delete_lead), so the agent must infer the boundary, but the core purpose is unambiguous.

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

Usage Guidelines3/5

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

'Only non-null fields are updated' tells the agent this is a partial-update call, and merchant scoping implies prerequisite context. There is no explicit when-to-use/when-not or routing to update_lead_keys or publish_lead, which matters in a family with ~250 siblings.

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