Skip to main content
Glama

Leads Discovery Agent by Nova (CIVAI)

remove_leads

Remove chosen discovered leads (by lead_id from list_leads) from this agent's Leads Discovery scan results, for example leads from the wrong country or the wrong groups. It never deletes a CRM chat: to delete conversations use remove_chats. Call it ONCE with every lead_id to remove; the owner approves once. Later scans do not find these people again. Leads already imported keep their CRM chat; the result lists their visitor_ids.

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": {
      "agent_id": "<agent_id>",
      "lead_ids": "<lead_ids>"
    },
    "name": "remove_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoShort reason shown in the approval
agent_idYes
lead_idsYeslead_id values from list_leads

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / reason / description
      Previous value: -"Short reason shown in the approval, e.g. 'US app communities'"New value: +"Short reason shown in the approval"
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses the human approval gate, the durable consequence ("later scans do not find these people again"), the partial side effect (already-imported leads keep their CRM chat), and what the response reports (visitor_ids). Nothing about the mutation's blast radius or authorization flow is left implicit.

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?

Sentence order is well front-loaded: what it does, the batch example, the exclusions, the batching instruction, then the consequences. Every clause adds distinct information — no filler, no restatement of the tool name.

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 unannotated three-parameter mutation with no output schema, the description covers purpose, prerequisites, alternatives, approval behavior, irreversibility, and the shape of the result. An agent could call this correctly on the first attempt with no further context.

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 67%, and the description compensates by sourcing lead_ids to list_leads and explaining why a reason matters (it appears in the approval prompt), which gives the reason parameter real meaning beyond "Short reason shown in the approval". agent_id remains unexplained in both places, which keeps this short of a 5.

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?

Uses a specific verb ("Remove") with a precise resource and scope: discovered leads within this agent's Leads Discovery scan results, keyed by lead_id from list_leads. It explicitly contrasts itself with remove_chats, so the agent can distinguish it from the deletion path without opening another schema.

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?

Gives a concrete use case (leads from the wrong country or wrong groups) and an explicit exclusion with the correct alternative ("to delete conversations use remove_chats"). It also prescribes invocation discipline: call ONCE with every lead_id, since the owner approves once — a genuine when/how-to-call guideline rather than a restatement.

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