Skip to main content
Glama
IvanBBaev

servicenow-mcp-ai

by IvanBBaev

Upload ServiceNow attachment

servicenow_upload_attachment

Upload a file as an attachment to a ServiceNow record by supplying table, sys_id, file name, and base64 content.

Instructions

Attach a file (provided as base64) to a record identified by table + sys_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNoExecute the change. In the default plan mode, omitting this returns a non-mutating before/after preview; set true to apply. SN_WRITE_MODE=apply makes execution the default.
tableYesTable the record belongs to.
sys_idYessys_id of the record to attach to.
instanceNoConnection profile to use for this call (default: the active profile). See servicenow_list_instances.
file_nameYesFile name to store, e.g. 'log.txt'.
content_typeNoMIME type, e.g. 'text/plain'. Defaults to octet-stream.
content_base64YesFile contents, base64-encoded.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already signal that this is a mutating, non-destructive operation (readOnlyHint=false, destructiveHint=false). The description adds the base64 input format and record-targeting behavior, but does not disclose whether repeated uploads create duplicates, size limits, permission requirements, or side effects associated with openWorldHint=true. No contradiction exists.

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?

The description is a single, efficient sentence that front-loads the action and key parameters. Every word contributes meaning, and there is no redundant or filler content.

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?

The core operation is clear, but there is no output schema and the description does not indicate what the tool returns upon success/failure, any prerequisites, or potential side effects. Given the seven-parameter schema and openWorldHint, slightly more context would help an agent confidently invoke the tool and interpret the result.

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 seven parameters, including the plan-mode 'apply' nuance and base64 encoding of content. The description reinforces table + sys_id as the record locator but adds little beyond the schema, matching the baseline for high schema coverage.

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 states a clear verb ('Attach'), a specific resource ('a file'), and the target ('a record identified by table + sys_id'), making the tool's action unambiguous. It is naturally distinguishable from sibling attachment tools like get_attachment, download_attachment, and delete_attachment.

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 clearly implies the use case: upload an attachment to an existing ServiceNow record using its table and sys_id. It does not explicitly discuss when not to use it or name alternative tools, but the phrasing gives enough context that an agent can route to this tool for uploads.

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

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/IvanBBaev/servicenow-mcp-ai'

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