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

Centrex: MCP server for Genesys Cloud

Plan a write

plan

Preview any write before it happens: shows the changed fields, required permissions and redacted secrets, then returns a planId a human approves and applies.

Instructions

The first step of every write; writes nothing. Prepares one write operation and shows what would change: for PUT and PATCH, the fields that change as before and after (a PUT replaces the whole resource: fields its body leaves out are listed as removed); for a creating POST, the payload validated against the body shape; for an action POST, the resource it acts on; for DELETE, the whole resource; stateKnown false when no GET reads the current state. Lists the permissions required, saves the plan and returns its planId, valid for 30 minutes. Values under secret field names (apiKey, password, token...) are redacted in the saved plan and listed in secretFields: apply needs them again in its secrets argument. Publishing a flow YAML file has its own path: plan postFlowsJobs with body { file } freezes a copy of the file and shows update or create, the diff against the published flow and which validation ran (describe postFlowsJobs). Show the plan to the human, then call apply with the planId. Refused in read-only mode.

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": "plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNoThe call's values as describe lists them: path parameters, query parameters and the JSON body. A composite operation takes its inputs in query.
operationIdYesThe write operation id, as search and describe give it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it guarantees nothing is written, states that the saved plan and planId are valid for 30 minutes, discloses that secret-named values are redacted and surfaced in secretFields (and must be re-supplied to apply), explains stateKnown false when no GET reads current state, and warns about read-only mode refusal.

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 single most important fact ("writes nothing") before any detail, and every sentence carries operational content. It is dense and runs long with a method-by-method enumeration and a parenthetical flow-YAML detour, which costs some readability but not much substance.

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?

Despite having no output schema, the description explains the returned artifacts an agent must act on (planId, its 30-minute lifetime, secretFields, stateKnown) and closes the loop with the next tool call. For a two-parameter, nested-object dry-run tool, nothing an agent needs in order to call it 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 schema already defines operationId and the params/body/path/query structure; the baseline is 3. The description adds meaning beyond that by tying inputs to their source (operationId "as search and describe give it") and by explaining the secret-field round-trip between plan and apply's secrets argument, which is not derivable from the schema alone.

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?

"The first step of every write; writes nothing" states the verb and the crucial non-effect in one clause, then enumerates precisely what the plan previews per HTTP method (PUT/PATCH before-after, POST payload validation, DELETE whole resource). It is immediately distinguishable from siblings apply, execute, and describe, and even names the handoff point ("call apply with the planId").

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?

Explicit when-to-use ("The first step of every write", "Show the plan to the human, then call apply"), an explicit alternative path (plan postFlowsJobs with body { file } for publishing a flow YAML, pointing at describe postFlowsJobs), and an explicit when-not ("Refused in read-only mode"). No condition is left to inference.

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