Skip to main content
Glama

execute_table_operation

Perform CRUD operations on ServiceNow tables to create, read, update, and delete records with query support and batch processing capabilities.

Instructions

CRUD operations on ServiceNow tables via Table API. Supports GET/POST/PUT/PATCH/DELETE with query syntax and batch operations. ⚠️ SANDBOX ONLY - reads/modifies data. 🛡️ Auto-limits large results. Use pagination for big datasets. 📁 Use {{file:path}} for large data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesThe operation to perform on the table. Required.
tableYesThe ServiceNow table name (e.g., "incident", "sys_user"). Required.
sys_idNoSystem ID for single record operations (GET, PUT, PATCH, DELETE).
sys_idsNoArray of system IDs for batch operations.
queryNoServiceNow encoded query string (e.g., "active=true^priority=1").
fieldsNoComma-separated list of fields to return.
limitNoMaximum number of records to return (default: 1000).
offsetNoNumber of records to skip for pagination.
display_valueNoReturn display values for reference fields.
exclude_reference_linkNoExclude reference link fields from response.
dataNoRecord data for POST/PUT/PATCH operations. Can be single object or array for batch operations. Supports {{file:...}} placeholders to load content from local files.
batchNoEnable batch mode for multiple record operations.
validate_fieldsNoEnable field validation warnings to catch typos and invalid field names. Default: true (validation enabled by default).
context_overflow_preventionNoEnable context overflow prevention to limit large result sets. Default: true. Set to false to disable automatic truncation (use with caution).
strict_fieldsNoStrict field filtering - only return requested fields and strip large fields (script, html, css) unless explicitly requested. Default: false.
response_modeNoResponse verbosity: full (all data), minimal (essential only), compact (summarized). Default: full
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and does so comprehensively. It explicitly warns about data modification in sandbox environments, mentions auto-limiting of large results, provides pagination advice, and describes file placeholder support. This covers critical behavioral aspects like safety, performance, and data handling that aren't in the schema.

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?

The description is efficiently structured with key information front-loaded (CRUD operations, API type, supported methods) followed by important warnings and usage tips. The use of emojis helps visually organize critical points. While slightly dense due to the tool's complexity, every sentence adds value without redundancy.

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

Completeness4/5

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

For a complex tool with 16 parameters, no annotations, and no output schema, the description provides substantial context about behavioral traits, safety warnings, and usage patterns. It covers the tool's scope, data modification implications, performance considerations, and file handling. The main gap is the lack of output format description, but given the tool's complexity, the description does remarkably well.

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?

The schema description coverage is 100%, so the schema already documents all 16 parameters thoroughly. The description adds some context about query syntax, batch operations, and file placeholders, but doesn't provide additional parameter-specific semantics beyond what's in the schema descriptions. This meets the baseline expectation when schema coverage is complete.

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 description clearly states the tool performs 'CRUD operations on ServiceNow tables via Table API' with specific HTTP methods (GET/POST/PUT/PATCH/DELETE) and mentions query syntax and batch operations. It distinguishes itself from sibling tools like 'execute_background_script' and 'execute_updateset_operation' by focusing on table operations rather than scripts or updatesets.

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?

The description provides clear context for usage with warnings like '⚠️ SANDBOX ONLY - reads/modifies data' and guidance on handling large datasets ('Use pagination for big datasets'). However, it doesn't explicitly state when to use this tool versus the sibling tools, though the different focus areas (tables vs. scripts vs. updatesets) are implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ClearSkye/SkyeNet-MCP-ACE'

If you have feedback or need assistance with the MCP directory API, please join our Discord server