Skip to main content
Glama

The business's leads

leads_list
Read-onlyIdempotent

Read only. The leads Taseli holds for the business (the last 90 days at most), newest first: when each came, its masked label (never a full name, phone or email in clear), its status (new, good, bad = not relevant, closed = became a customer, with the deal's worth), where it came from (a Google, Meta or TikTok form, WhatsApp, the website or CRM, an uploaded list, added by hand), the campaign, ad and form, and whether it was sent back to the ad platform. The form's answers come only for the owner, an admin or a manager. Useful for 'what leads came in?', 'show this week's leads', before marking one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "leads_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back (default 30).
limitNoHow many (default 20).
cursorNoFrom nextCursor of the previous answer, for the next page.
sourceNoOnly leads from this source.
statusNoOnly leads with this status.
accountNoAn ad account's name or id, to see one account only; omit for all of them.
languageNoAnswer language. The business's language by default.

Output Schema

NameRequiredDescriptionDefault
noteNoA plain note instead of data (nothing connected yet, not available here).
leadsNo
totalNoHow many there are in all.
truncatedNo
nextCursorNo
answersNoteNo
truncatedNoteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses genuinely useful behavior: PII is masked (never a full name, phone or email), a hard 90-day window applies, results are newest-first, and form answers are gated to owner/admin/manager roles. It also defines what each status means, which annotations cannot convey.

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?

It front-loads the 'Read only' safety cue and the scope before the field inventory, and every clause carries information. The cost is that the field list becomes one long run-on sentence with nested parentheticals, which is harder to parse than a short bulleted structure would be.

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?

An output schema exists, so return shape need not be described; the description instead covers the things structured fields do not: time-window cap, sort order, masking, permission-gated fields, and status semantics. Combined with 100% schema coverage, an agent has everything needed to call it correctly.

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 the baseline is 3; the description earns an extra point by attaching meaning to enum values ('bad = not relevant', 'closed = became a customer, with the deal's worth') and by explaining that the source reflects origin types like Google/Meta/TikTok forms or uploaded lists. It adds interpretation rather than repeating labels, though it says nothing about days/limit/cursor behavior.

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?

The description opens with a specific verb+resource ('The leads Taseli holds for the business'), bounds it in time ('the last 90 days at most'), states ordering ('newest first'), and enumerates the returned fields. An agent can distinguish it from 'leads_mark' purely from the closing hint 'before marking one'.

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?

It supplies concrete example queries ('what leads came in?', 'show this week's leads') and an adjacent-task cue ('before marking one') that routes toward the marking sibling. It stops short of an explicit when-not or a named alternative, so it lands just under a full 5.

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