Skip to main content
Glama

1ClickSiteAI

Change a draft batch's defaults

update_lead_gen_batch
DestructiveIdempotent

Changes the defaults of a whole draft batch (colour, background, logo size, contact mode, language, template); a business with its own value keeps it. To change one business, use update_lead_gen_site. It works on a draft that the dashboard created; a batch from create_lead_gen_batch has started and answers already_started. It costs nothing. The first call writes nothing and returns each field's current value and its new one; show that list to your user and call again with the same arguments and confirm: true only after they agree.

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": {
      "batchId": "<batchId>"
    },
    "name": "update_lead_gen_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
batchIdYesBatch id from create_lead_gen_batch or list_lead_gen_batches.
confirmNoSet true only after your user approved the list from your previous call to this tool. Never set it on the first call.
languageNo
logoSizePxNo
contactModeNo
templateKeyNo
primaryColorNo
backgroundThemeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

The description goes well beyond the annotations: it discloses the per-business override rule ("a business with its own value keeps it"), the zero-cost behavior, and a two-phase write protocol where the first call is a dry run returning current and proposed values. However, it never explains what destructiveHint=true actually endangers (e.g., whether existing per-business overrides or prior defaults are lost on confirm) or how partial field sets are treated, which is the main behavioral question for a destructive batch mutation. It adds real value but leaves the blast radius of the confirmed write implicit.

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 the purpose and the affected fields, then routing, then the confirmation protocol in the order an agent needs it. It is dense and parenthetical-heavy (the field list and the already_started aside are compressed into single clauses), but no sentence is 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?

For an 8-parameter destructive mutation with no output schema, the definition supplies the missing pieces an agent needs: cost, draft-only restriction, override preservation, and a complete confirm-loop protocol describing what the first call returns and what to show the user. Nothing essential to calling it correctly is absent.

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?

With only 25% schema description coverage, the description must carry weight, and it does for the two riskiest parameters: confirm is explained as a second-call-only flag that must follow user approval of the previewed list, and batchId's provenance is implied by the draft/create_lead_gen_batch discussion. The remaining field parameters (language, logoSizePx, contactMode, templateKey, primaryColor, backgroundTheme) are left to the schema, though their enums and patterns are largely self-describing.

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 ("Changes the defaults of a whole draft batch") and enumerates the affected fields (colour, background, logo size, contact mode, language, template). It also names the sibling it is not (update_lead_gen_site) and scopes itself to batch-wide changes, so an agent can separate it from the per-business tool immediately.

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?

Explicit routing is given: use update_lead_gen_site to change a single business. It also states the precondition (must be a draft created by the dashboard) and the failure mode for the wrong batch type ("a batch from create_lead_gen_batch has started and answers already_started"), so when-to-use and when-not-to-use are both covered.

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