Skip to main content
Glama

send_survey

Send a survey to a ServiceNow user by creating an assessment instance. Use it to collect feedback after closing an incident or other trigger record.

Instructions

Issue a survey/assessment instance to a user (asmt_assessment_instance). Requires WRITE_ENABLED=true

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesRecipient user sys_id
fieldsNoAdditional field values
trigger_idNoSource record sys_id (e.g. the closed incident)
metric_typeYessys_id of the survey definition (asmt_metric_type)
trigger_tableNoSource table name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.15.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already indicate it is not read-only, not idempotent, and not destructive. The description adds the requirement WRITE_ENABLED=true, which is a useful prerequisite but does not describe side effects, return behavior, or reversibility. It adds minimal behavioral context beyond what annotations provide.

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 wasted words. The primary action and the key prerequisite are front-loaded, making it easy to scan.

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?

For a relatively simple write operation, the description is adequate but incomplete. It lacks any mention of validation (e.g., user must be active, survey must be published), expected effects (e.g., creates a record, triggers notification), or error conditions. With no output schema, an agent might need more context to handle failures.

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% and each parameter (user, metric_type, fields, trigger_id, trigger_table) has a description. The tool description adds no additional semantics beyond the schema, so it meets the baseline without adding value.

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 clearly states the action: 'Issue a survey/assessment instance to a user' and identifies the underlying table (asmt_assessment_instance). This is a specific verb+resource, and the parenthetical clarifies the internal object. It distinguishes from sibling tools like create_survey (which likely defines the survey) and get_survey_results (which retrieves results), though it doesn't explicitly name alternatives.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It does not mention prerequisites beyond the WRITE_ENABLED flag, nor does it state when to choose this over create_survey or list_assessments. The agent must infer from the name and context.

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