Skip to main content
Glama
Centrex: MCP server for Genesys Cloud

Centrex: MCP server for Genesys Cloud

Run a read operation

execute

Run read-only Centrex operations and get parsed responses, including paginated, job-style and composite reads; write operations are refused—use plan then apply.

Instructions

Runs one read and returns the parsed response: a GET, a query POST, a job-style read (an analytics, audit or usage query job, which it submits, polls and fetches in one call) or a composite operation. Write operations (PUT, PATCH, DELETE and every other POST) are refused: use plan, then apply. A listing returns one page with a pagination note saying how to ask for more; allPages reads every page up to maxItems. A response larger than maxInlineBytes is saved to a file in the org's responses folder and summarized. A job still running at jobTimeoutMs comes back with job.status 'pending': call execute again with its jobId to keep waiting instead of submitting it again. An analytics body interval that ends in the future is clamped to now before it is sent; the result's notes say so. One POST is run as a read although it is not a query POST: postFlowsExportJobs exports one flow as YAML to a file in the org's flows folder and returns the file path (describe it for its body).

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": {
      "operationId": "<operationId>"
    },
    "name": "execute"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdNoJob-style reads: the id of a job submitted before, to keep waiting for it instead of submitting a new one.
paramsNoThe call's values as describe lists them: path parameters, query parameters and the JSON body. A composite operation takes its inputs in query.
allPagesNoRead every page of a listing (page number or cursor style), up to maxItems.
maxItemsNoCap of elements collected by allPages (default 1000, and at most 1000).
timeoutMsNoLongest wait for one answer, in milliseconds (default 30000).
operationIdYesThe operation id or composite operation id, as search and describe give it.
jobTimeoutMsNoJob-style reads: longest wait from submit to completion, in milliseconds, before the job id comes back to resume (default 120000).
maxInlineBytesNoLargest response, in bytes of JSON, returned inline; larger ones are saved to a file (default 20480).
pollIntervalMsNoJob-style reads: wait between two polls of the job's state, in milliseconds (default 2000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and discloses a lot: write refusals, pagination note plus allPages/maxItems behavior, large responses spilled to a file, job pending status with resume semantics, and future-interval clamping. It still says nothing about authorization requirements, rate limits, or whether writing a response file can overwrite prior files, which are relevant for a tool that produces side-effect files.

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-loads the core contract (what runs, what is refused, where to go instead) before the edge cases, and nearly every clause carries operational information. It is dense and reads as one long paragraph, which makes the later caveats about job resumption and postFlowsExportJobs easy to skim past.

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?

For a 9-parameter tool with no annotations and no output schema, the description covers the refusal boundary, pagination, output size handling, job lifecycle, and the single exception to the read-only rule. Given the annotations and schema already document parameter defaults fully, nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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, but the description adds meaning on top: it explains what allPages costs (every page up to maxItems), what triggers the file-spill threshold (maxInlineBytes), and what jobTimeoutMs produces (a resumable jobId). Values shape and the composite-input convention remain purely in the schema, so this is strong but not exhaustive.

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 the exact set of resources it covers (GET, query POST, job-style read, composite operation), and explicitly carves out write operations as out of scope. An agent can distinguish it from plan and apply without opening any schema.

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?

Names the alternative for the excluded case ("Write operations ... are refused: use plan, then apply") and gives concrete routing rules for repeated calls ("call execute again with its jobId to keep waiting instead of submitting it again"). It also flags the one exception where a non-query POST is treated as a read.

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

Deploy Server

Other Tools