Skip to main content
Glama

Rename or pause a lead source

update_lead_source
Idempotent

Rename a lead source, or pause it (its address stops accepting leads) and turn it back on. Admins only.

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": {
      "lead_source_id": "<lead_source_id>"
    },
    "name": "update_lead_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name
enabledNofalse pauses the source, true turns it back on
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
lead_source_idYesLead source id from list_lead_sources

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the write, idempotent, non-destructive, open-world profile, and the description adds real context beyond them: the admin-only auth requirement and the concrete effect of pausing (the address stops accepting leads) plus its reversibility. It stops short of saying what happens to already-captured leads or to omitted fields.

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 short sentences with the operations and the permission gate front-loaded; every clause earns its place and nothing is padded.

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?

For a four-parameter mutation tool with full schema coverage, annotations, and no output schema, the definition covers the essential behavior: what changes, reversibility, and the admin requirement. It could note whether at least one of name/enabled must be supplied and what a rename does to existing leads, but those are minor gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains name, enabled, workspace_id, and lead_source_id thoroughly. The description's mention of renaming and pausing maps onto name and enabled but adds no format, constraint, or interaction detail beyond what the schema states, so the baseline 3 applies.

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?

Names two specific operations on a specific resource: renaming a lead source and pausing/reactivating it. The parenthetical clarifies what 'pause' actually means (the address stops accepting leads), so an agent can distinguish this from remove_lead_source or create_lead_source without opening any schema.

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?

States the admin-only precondition and implies that pausing is reversible ('turn it back on'), which hints at the pause-vs-delete choice. However, it never explicitly says to use remove_lead_source for permanent deletion or which of the two mutation modes to pick when a user is vague, so the routing guidance remains implied.

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