Skip to main content
Glama
AskBase

AskBase

Official

list_deals

List sales deals and filter them by status, pipeline, company, contact, or name, then sort by close date, amount, updated date, created date, or name.

Instructions

List deals. Filter by status (open, won, lost), pipeline, company, contact or name; sort by close_date, amount, updated, created or name.

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": "list_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoclose_date, amount, updated, created or nameclose_date
limitNo
queryNoText in the deal name
statusNoopen, won or lostopen
company_idNoOnly this company's deals
contact_idNoOnly deals this contact is on
pipeline_idNoOnly this pipeline

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It implies a read operation via "List" but never states pagination behavior, that limit defaults to 50 (max 200), or that the default status filter silently restricts results to open deals — a meaningful behavioral gotcha left entirely to the schema.

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?

Two tight sentences with the verb and resource front-loaded and zero filler. Some of the filter/sort enumeration duplicates the schema, which is the only waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need not be explained, and the tool is a simple list. Still missing are the default-filter side effect (status defaults to open) and pagination semantics, which an agent needs to call it correctly.

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 86%, so the schema already documents most parameters. The description restates the status values and sort keys verbatim but adds no new meaning — nothing about how query matching works, how limit interacts with paging, or how company_id/contact_id/pipeline_id combine.

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?

"List deals" is a specific verb+resource, and the sentence adds the filterable and sortable dimensions. It is clear enough to distinguish from get_deal or deal_pipeline_summary by intent, though it never names a sibling to route against.

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?

The enumeration of filters and sort keys implies the retrieval use case, but there is no explicit when-to-use guidance, no mention of when to prefer search or deal_pipeline_summary, and no note that results are capped/paginated.

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