Skip to main content
Glama

generate_case_activity_response

Read-only

Draft agent replies for CSM case activity streams, using Now Assist when available or returning case context for manual drafting.

Instructions

Draft an agent reply for a CSM case activity stream via the Now Assist activity-response skill when available, else return the case context to draft from. Parity with ServiceNow CSM "Activity Response"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseYesCSM case number or sys_id
tableNoCase table (default sn_customerservice_case)
instructionNoOptional tone/instruction for the reply

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.15.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, lowering the bar. The description adds meaningful behavioral context: the tool may fall back to returning case context if the skill is unavailable. This is non-contradictory and helps set expectations.

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?

Two sentences with no filler. The primary action and fallback are front-loaded, and the ServiceNow parity note adds context without bloating the description.

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?

There is no output schema, so the description should clarify what the agent receives. It says the tool returns a draft or case context, but does not describe the shape or content of that context. Inputs and safety are well covered, but return-value ambiguity leaves a gap.

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%, so the schema already documents all three parameters. The description adds no parameter-specific semantics beyond mentioning 'case context', so the baseline score of 3 is appropriate.

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 states a specific action ('Draft an agent reply') and resource ('CSM case activity stream'), and adds a fallback behavior. It is distinguishable from siblings like generate_csm_resolution_notes by targeting activity-stream replies, though it does not explicitly name an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context: use the Now Assist activity-response skill when available, otherwise return case context for drafting. This is useful conditional guidance, though it does not explicitly exclude alternatives or state when not to use the tool.

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