Skip to main content
Glama
Dealroot

Dealroot

List leads

dealroot-list-leads
Read-onlyIdempotent

Lists recent leads with contact details, status, deal value and marketing source, with filters for status, reporting period or search term to review lead activity.

Instructions

Lists recent leads with contact details, status, deal value and marketing source. Filter by status, period or a search term.

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": "dealroot-list-leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
periodNoReporting period: 7d, 30d, 90d, this_month, last_month, 12m or all.all
searchNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds that results are 'recent' and what fields come back, but it does not disclose that results are capped (limit max 50, default 20) or anything about ordering/pagination.

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 sentences, front-loaded with the resource and returned fields, then the filtering options. No filler or redundancy; every clause carries information.

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?

With no output schema, the description correctly compensates by listing the return fields, which is what an agent needs to decide applicability. The remaining gap is result-set sizing: nothing tells the agent about the default limit of 20 or the 50 maximum, which materially affects how it should call this.

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 only 25% - only 'period' carries a description - so the description does help by naming status and search as filter axes. But 'limit', the parameter that most affects the response, is never mentioned, and no format or behavioral detail is added for 'search' beyond the word 'search term'.

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 (Lists) and resource (leads) and enumerates the fields returned: contact details, status, deal value, marketing source. The sibling tools (get-lead, get-report) are clearly narrower or different, so confusion is unlikely even without naming them explicitly. Minor ambiguity: 'recent' sits uneasily with the schema's default period of 'all'.

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?

'Filter by status, period or a search term' implies how to narrow results, which is useful context for an agent. However, there is no explicit when-to-use guidance versus dealroot-get-lead (single lead) or dealroot-get-report, and no note on when to page rather than filter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.