Skip to main content
Glama
IvanBBaev

servicenow-mcp-ai

by IvanBBaev

Download ServiceNow attachment

servicenow_download_attachment
Read-only

Fetch a ServiceNow attachment's bytes as base64 by its sys_id. Retrieves file content from an instance, rejecting files that exceed the size limit.

Instructions

Download an attachment's bytes, returned as base64. Large files are refused (see SN_MAX_RESULT_CHARS).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceNoConnection profile to use for this call (default: the active profile). See servicenow_list_instances.
attachment_sys_idYesThe sys_id of the attachment to download.

Schema Changelog

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

  1. First observedv2.0.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds valuable behavioral detail: the output is base64 and large files will be refused referencing SN_MAX_RESULT_CHARS. This goes beyond what annotations provide and sets clear expectations for the agent.

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 extremely concise, using two short sentences. The primary action and output format are front-loaded, and the key limitation is stated without ambiguity. Every word contributes to understanding.

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

Completeness5/5

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

For a simple download operation with only one required parameter and no output schema, the description covers all essential aspects: what it does, the return format, and a critical size limitation. No additional context is needed for an agent to invoke it correctly.

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 input schema provides complete descriptions for both parameters (instance and attachment_sys_id), so the description does not need to add param-level detail. It does indirectly reference a size constraint via SN_MAX_RESULT_CHARS, but this is not tied to a specific parameter. This aligns with 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 clearly states a specific action ('Download') on a specific resource ('an attachment's bytes') and specifies the return format ('base64'). This distinguishes it from sibling tools like credential management or instance listing, making its purpose unambiguous.

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 when the tool is appropriate (downloading attachments) and includes a critical limitation ('Large files are refused') that guides usage. It does not explicitly name alternatives, but no direct alternative exists among the listed siblings, so this is sufficient.

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