MMetadata /docs
Docs/Tools/get_account_opportunities_insights

get_account_opportunities_insights

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

Read analytics

Returns data. Calling it changes nothing, so it is safe in an unattended loop.

What it does

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

PAGINATION: Use small page sizes (25-50) with sequential calls.

Arguments

ArgumentTypeNotes
domains array required Domain strings. E.g., ['metadata.io']
status array Filter by status. Omit for all.
startDate string ISO 8601 format. E.g., '2025-01-01T00:00:00.000Z'
endDate string ISO 8601 format.
page integer 0-based page number.
size integer Items per page (default 25, max 10000). Raise it to pull the full set in one call.
sort string Sort field. Default: lastTouchDate
one of: lastTouchDate, status, name, amount

Request

curl
curl -s -X POST https://mcp-server.metadata.io/mcp \
  -H "Authorization: $METADATA_PAT" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2025-11-25" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_account_opportunities_insights","arguments":{"domains":[]}}}'

Response

Recorded with these arguments. Enum values are the first the tool's own schema declares; ids were fetched live from a list_ call immediately before.

arguments used
{
 "domains": [
  "metadata.io"
 ]
}

Real, from the production server, in 573 ms. Values that identify a customer or disclose money are replaced with typed placeholders; keys, types and nesting are exactly as returned.

recorded response
"[value redacted]"

Other analytics tools:

All 160 tools · machine-readable index