Skip to main content
Glama
Genesys Cloud MCP Plus

Genesys Cloud MCP Plus

by AmrKhalil9

wrap_up_code_analytics

Analyze wrap-up codes across conversations to quantify interaction types and volumes, with breakdowns by code, queue, and media type for reporting.

Instructions

Analyzes wrap-up codes from conversations to understand interaction types and volumes. Useful for answering questions like 'how many inquiries came today' or 'what types of calls did we receive'. Returns detailed breakdown by wrap-up code, queue, and media type.

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": {
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "wrap_up_code_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYesThe end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z')
queueIdsNoOptional: List of up to 100 queue IDs to filter by
startDateYesThe start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z')
mediaTypesNoOptional: Filter by specific media types
wrapUpCodesNoOptional: List of specific wrap-up codes to filter by

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

B3.4/5.0
Behavior3/5

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

The only annotation is a title, so the description carries the full behavioral burden. It does disclose the grouping dimensions of the result ('by wrap-up code, queue, and media type'), which is genuinely useful, but says nothing about aggregation granularity, timezone handling of the required date bounds, result-size limits, or that this is a read-only analytics call.

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?

Three short sentences, front-loaded with purpose then use cases then output shape, with no filler. The two example questions are near-duplicates of the same idea and one would have sufficed, but nothing is misleading or bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters all documented in schema and no output schema, the description reasonably covers purpose and return dimensions. However, for an analytics tool with required date bounds, the absence of any note on timezone, aggregation unit, or result cardinality leaves gaps an agent would need to guess at.

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 description coverage is 100%, including ISO-8601 format examples and the 100-queue / 50-code caps, so the schema already does the parameter work. The description adds no filter semantics beyond hinting that a date window exists via the 'came today' example, so the baseline 3 applies.

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?

States a specific verb and resource ('Analyzes wrap-up codes from conversations') plus the intended outcome ('understand interaction types and volumes') and the return shape ('breakdown by wrap-up code, queue, and media type'). It is clearly a reporting/aggregation tool, distinguishable from transcript or sentiment siblings, though it never names which sibling to prefer for adjacent questions like queue volume totals.

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?

Usage is conveyed only by example questions ('how many inquiries came today', 'what types of calls did we receive'), which implies the intended reporting scenarios but gives no explicit when-not conditions and no routing to alternatives such as query_queue_volumes or conversation_topics that could answer overlapping volume questions.

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