Skip to main content
Glama

Metadata MCP Connector

Get Account Opportunities Insights

get_account_opportunities_insights
Read-only

Get opportunities for domain(s) with status filtering and pagination.

STATUS VALUES: NO_OPPS, OPEN, CLOSED_WON, CLOSED_LOST

SORT OPTIONS: lastTouchDate (default), status, name, amount

RETURNS: one entry per requested domain, in request order, each carrying its domain. Read each account's opportunities from the entry carrying ITS domain only. A domain the platform could not answer comes back as {domain, error, data: []} in its own slot.

PAGINATION: page and size apply per domain. Use small page sizes (25-50) with sequential calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo0-based page number.
sizeNoItems per page (default 25, max 10000). Raise it to pull the full set in one call.
sortNoSort field. Default: lastTouchDatelastTouchDate
statusNoFilter by status. Omit for all.
domainsYesDomain strings. E.g., ['metadata.io']
endDateNoISO 8601 format.
startDateNoISO 8601 format. E.g., '2025-01-01T00:00:00.000Z'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already mark the tool as read-only and non-destructive, and the description adds substantial behavioral context: status and sort enums, per-domain result mapping in request order, the error fallback shape {domain, error, data: []}, and per-domain pagination semantics. This goes well beyond the annotations without contradicting them.

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?

The description is front-loaded with a one-sentence summary followed by clearly labeled STATUS, SORT, RETURNS, and PAGINATION blocks. It is scannable, dense with useful information, and contains no filler.

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 does well to define the top-level return contract, error entries, and pagination behavior. It still leaves some ambiguity around date range parameter semantics and the exact fields inside each opportunity entry, which matters for a seven-parameter tool without an output schema.

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 baseline is 3. The description adds meaningful context by explaining that page and size apply per domain and recommending small sequential pages, which is not in the schema. However, this recommendation conflicts with the schema's size description ('Raise it to pull the full set in one call'), making the added guidance less reliable.

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 opens with 'Get opportunities for domain(s) with status filtering and pagination,' naming a specific read resource and scope. It is clear and distinct enough to identify the tool's purpose, but it does not explicitly differentiate itself from nearby insight/stat tools like get_account_summary_insights.

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 intended use is implied: an agent should call this when it needs opportunities for specific domains with optional status/sort/pagination. However, there is no explicit guidance about when not to use it or which sibling tool to prefer, so the usage signal is present but not fully developed.

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.

Resources