Skip to main content
Glama

List opportunities

list_opportunities
Read-onlyIdempotent

Tasks and opportunities for a client with their source evidence, priority basis, assumptions and state. Paginate with cursor. Requires the opportunities:read key permission.

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": {
      "projectId": "<projectId>"
    },
    "name": "list_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1–50, default 50
stateNoFilter by state
cursorNonextCursor from the previous page
projectIdYesClient project id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower, and the description still adds the authorization requirement and the cursor-based pagination pattern. It also discloses the shape of what comes back, which the annotations do not cover. It stops short of stating page-size limits or ordering, but that is largely in 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 sentences, front-loaded with what the tool returns, followed by the two operational facts an agent needs. The field enumeration is dense and slightly ambiguous in phrasing, but 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?

For a read-only, fully-documented-parameter list tool with no output schema, the description covers resource identity, return contents, auth, and pagination. Little an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the schema already documents limit, state, cursor, and projectId, making 3 the baseline. The sentence 'Paginate with cursor' reinforces the cursor/limit relationship but adds no syntax or format detail beyond what the schema states ('nextCursor from the previous page').

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?

The description names a specific resource (tasks/opportunities for a client) and enumerates the payload it returns — source evidence, priority basis, assumptions, state — which is more than a restatement of the title. It does not explicitly contrast with siblings such as get_project or get_citations, but the resource is distinct enough that an agent can tell what it fetches.

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?

It gives a real prerequisite (opportunities:read key permission) and states the pagination mechanism, which are actionable usage cues. It never says when to reach for this versus the project or evidence retrieval tools, so the selection guidance remains implied rather than explicit.

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.