Skip to main content
Glama
pingidentity

PingOne Advanced Identity Cloud MCP Server

Official
by pingidentity

Update AM Script

updateScript
Idempotent

Update an existing Scripted Decision Node script by modifying its name, description, or JavaScript source code. Requires realm and script ID.

Instructions

Update an existing Scripted Decision Node script. You can update any combination of name, description, or script content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
realmYesThe realm containing the script
scriptIdYesThe unique identifier of the script (UUID format)
nameNoNew name for the script
descriptionNoNew description for the script
scriptNoNew JavaScript source code for the script
Behavior3/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, openWorldHint=true, which inform safety and idempotency. The description adds no further behavioral details (e.g., partial update semantics, error handling, or return value). It does not contradict annotations.

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 sentence that immediately conveys the core purpose and updatable fields. Every word is essential, with no redundancy or filler.

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 5-parameter mutation tool with no output schema, the description covers the basic purpose and parameters. However, it does not mention what the tool returns (if anything) or possible error scenarios. It is minimally adequate but could be more helpful by stating expected outcomes.

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?

Input schema has 100% description coverage, so the schema itself documents parameters well. The description adds marginal value by naming the optional fields (name, description, script content), which maps to schema properties, but does not explain format or constraints beyond what the schema provides (e.g., script is JavaScript).

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 action ('Update') and the resource ('Scripted Decision Node script'), and specifies which fields can be updated (name, description, script content). This distinguishes it from sibling tools like createScript, deleteScript, and getAMScript.

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

Usage Guidelines3/5

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

The description implies use for updating existing scripts, but does not explicitly state when to use or avoid it, nor does it mention prerequisites (e.g., script must exist) or alternatives. Compared to siblings, the purpose is clear but lacks direct guidance on context.

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/pingidentity/aic-mcp-server'

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