Skip to main content
Glama

score_opportunity

Read-onlyIdempotent

Assess an open opportunity against eight pre-sales qualification dimensions to return a 0–100 score, qualification band, win probability, gap consequences, and delivery warnings; read-only.

Instructions

Score an open opportunity across the eight pre-sales qualification dimensions (e.g. budget, authority, need, timeline, technical fit), returning a 0-100 score, a qualification band ('qualified', 'developing', 'weak', 'unqualified'), win probability, the specific unanswered gaps with the consequence of leaving each one open, and delivery warnings that will carry over if the deal closes while unqualified. Read-only; does not change the opportunity record. Use list_opportunities first to find an opportunity_id, then build_discovery_agenda to turn the gaps into a conversation plan.

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": {
      "opportunity_id": "<opportunity_id>"
    },
    "name": "score_opportunity"
  }
}

Input Schema

NameRequiredDescriptionDefault
opportunity_idYesThe opportunity's canonical ID, e.g. 'OPP-2001'. Look one up with list_opportunities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • addedInput schema / properties / opportunity_id / description
      Added value: +"The opportunity's canonical ID, e.g. 'OPP-2001'. Look one up with list_opportunities."
  2. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/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 reinforces that with 'does not change the opportunity record.' Beyond that it discloses behavior annotations cannot express: the 0-100 range, the four band values, that gaps are returned with the consequence of leaving each open, and that delivery warnings carry over if the deal closes unqualified.

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?

Front-loaded with the verb and scope, then the return contents, then the read-only caveat and workflow. The middle sentence is dense with a long output list, but every clause carries information an agent needs since no output schema exists.

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?

With no output schema, the description fully carries the burden of describing return values, including band vocabulary and the consequence framing of gaps. Combined with the prerequisite and next-step routing, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter at 100% schema coverage, and the schema already explains the canonical ID format and points to list_opportunities. The description's lookup hint duplicates rather than extends the schema, so baseline 3 applies.

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 ('Score an open opportunity') and immediately narrows the scope to eight pre-sales qualification dimensions with named examples. The enumerated outputs (0-100 score, band, win probability, gaps, delivery warnings) make it unmistakable against siblings like compute_health_score or detect_risk_signals.

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?

Explicitly sequences the workflow: 'Use list_opportunities first to find an opportunity_id, then build_discovery_agenda to turn the gaps into a conversation plan.' It names both the prerequisite and the natural follow-up sibling, leaving little to inference.

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