Skip to main content
Glama
YawLabs

@yawlabs/aws-mcp

Official
by YawLabs

aws_resource_update

Update an AWS resource using Cloud Control API with a JSON Patch document. Specify the resource type, identifier, and patch operations to modify attributes.

Instructions

Update an AWS resource via Cloud Control API using RFC 6902 JSON Patch. Async by default: returns a ProgressEvent with OperationStatus=IN_PROGRESS and a top-level requestToken. Pass awaitCompletion: true to have the server poll until terminal. Typical patch: [{op: 'replace', path: '/MemorySize', value: 512}].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNameYesCloudFormation type name.
identifierYesPrimary identifier for the resource.
patchDocumentYesRFC 6902 JSON Patch document (array of operations). At least one entry.
clientTokenNoIdempotency token (max 128 chars).
profileNoOverride session profile for this call.
regionNoOverride session region for this call.
timeoutMsNoTimeout in milliseconds. Default 60000.
awaitCompletionNoIf true, poll get-resource-request-status until the operation reaches SUCCESS / FAILED / CANCEL_COMPLETE and return the final ProgressEvent. Default false (returns immediately with IN_PROGRESS, caller polls via aws_resource_status).
pollIntervalMsNoPoll interval in ms when awaitCompletion is true (range 500-30000). Default 2000. ProgressEvent.RetryAfter overrides when CCAPI returns one.
maxWaitMsNoMaximum total wait in ms when awaitCompletion is true (range 1000-1800000). Default 300000. On timeout, returns the last seen status with a hint to keep polling.
Behavior5/5

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

Annotations show readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true. The description adds behavioral context: async by default, returns a ProgressEvent with OperationStatus=IN_PROGRESS and requestToken, and details the polling mechanism. No contradiction with 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 three sentences long, front-loaded with core purpose. Every sentence adds value: explains the tool, async behavior, and typical patch structure. No wasted words.

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?

Given the complexity (10 parameters, async behavior, polling), the description is very complete. It explains default async, optional synchronous mode, patch format, polling parameters, and return value structure. No output schema, but the description sufficiently covers what an agent needs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (all parameters described). The description adds significant meaning beyond schema: explains patchDocument with an example, explains awaitCompletion behavior and related parameters (pollIntervalMs, maxWaitMs, timeoutMs), and mentions ProgressEvent.RetryAfter overriding poll interval.

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 updates an AWS resource via Cloud Control API using RFC 6902 JSON Patch. It distinguishes from sibling tools like aws_resource_create, aws_resource_delete, aws_resource_get, aws_resource_list, and aws_resource_status. The verb 'Update' and resource 'AWS resource' are specific.

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

Usage Guidelines5/5

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

The description explains that the tool is async by default, requiring polling via aws_resource_status, and that passing awaitCompletion: true makes it synchronous. It also provides a typical patch example, guiding when to use this tool versus alternatives.

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/YawLabs/aws-mcp'

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