Skip to main content
Glama

list_opportunities

Read-onlyIdempotent

List open sales opportunities as lightweight summaries sorted by deal value, with optional stage and qualification-band filters, to find an opportunity_id for scoring, discovery or handover.

Instructions

List open (not yet closed) sales opportunities as lightweight summaries (value, stage, close date, qualification band), sorted by deal value descending. Use this to find an opportunity_id before calling score_opportunity, build_discovery_agenda, design_solution_outline or prepare_handover. Read-only.

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_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
bandNoOptional filter on qualification band: 'qualified', 'developing', 'weak' or 'unqualified', as computed by score_opportunity's engine. Omit to include all bands.
stageNoOptional filter on sales stage, e.g. 'discovery', 'qualification', 'solutioning', 'commercial', 'handover'. Omit to include all stages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.0
    • addedInput schema / properties / band / description
      Added value: +"Optional filter on qualification band: 'qualified', 'developing', 'weak' or 'unqualified', as computed by score_opportunity's engine. Omit to include all bands."
    • addedInput schema / properties / stage / description
      Added value: +"Optional filter on sales stage, e.g. 'discovery', 'qualification', 'solutioning', 'commercial', 'handover'. Omit to include all stages."
  2. First observedv1.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description's closing 'Read-only' merely restates that. What it genuinely adds is the 'open (not yet closed)' scoping rule, the descending sort on deal value, and the fact that results are lightweight summaries rather than full records — useful, but there is no mention of volume limits, pagination, or whether the list is user- or workspace-scoped.

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, both front-loaded: the resource plus result shape and ordering come first, then the workflow routing. No filler, and the 'Read-only' tag is the only mildly redundant token.

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 enumerating the returned fields and the sort order, and the filter parameters are fully covered by the schema. The remaining gap is operational detail (result limits, pagination, scoping across users/workspaces) for a list tool that could return many records.

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% and both optional parameters (band, stage) document their accepted values and the omit-to-include-all default, so the schema does the heavy lifting. The description adds no further parameter meaning, which is the expected baseline of 3 when coverage is complete.

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?

States a specific verb and resource ('List open ... sales opportunities'), specifies the shape of the result ('lightweight summaries' with value, stage, close date, qualification band) and the sort order (deal value descending). This is enough for an agent to distinguish it from siblings like list_accounts or portfolio_triage without opening the schema.

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?

Gives explicit routing guidance: use it to obtain an opportunity_id before calling score_opportunity, build_discovery_agenda, design_solution_outline or prepare_handover, which frames it as the entry point of a workflow. There is no explicit when-not-to-use or statement about what to call instead when the agent already has an id, so it stops short of a 5.

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