Skip to main content
Glama
IvanBBaev

servicenow-mcp-ai

by IvanBBaev

Get ServiceNow attachment metadata

servicenow_get_attachment
Read-only

Retrieve ServiceNow attachment metadata by sys_id to view file details like name, type, and size. Useful for verifying attachment contents without downloading.

Instructions

Read a single attachment's metadata by its sys_id.

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 record.

Schema Changelog

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

  1. First observedv2.0.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description does not contradict them. It adds useful scope ('single attachment', 'metadata'), but it does not disclose output shape or any edge-case behavior.

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?

One sentence with the action and object front-loaded and no filler. Every word contributes to the meaning.

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 simple read-only, two-parameter tool, the description plus schema and annotations cover what an agent needs to invoke it. There is no output schema, but 'metadata' conveys the return type at a useful level; more detail about returned fields would be a minor enhancement.

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 already provides complete descriptions for both parameters, including a reference to servicenow_list_instances for the instance parameter. The tool description echoes 'by its sys_id' but adds no significant meaning beyond the schema.

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?

States a specific verb 'Read', a specific resource 'a single attachment's metadata', and the method 'by its sys_id'. This clearly differentiates it from sibling tools, which are about instance management, status, and connection testing.

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 prerequisite: you must have an attachment_sys_id and want metadata for one attachment. It does not explicitly name alternatives or exclusions, but none of the listed sibling tools perform attachment operations.

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