Skip to main content
Glama

deployment_get_resource_action

Read-onlyIdempotent

Retrieves a specific action for a deployment resource using its deployment, resource, and action IDs, so you can inspect the available resource action.

Instructions

Fetch resource action. Returns an action for the resource specified by its Resource ID and Action ID. GET /deployment/api/deployments/{deploymentId}/resources/{resourceId}/actions/{actionId}

Input Schema

NameRequiredDescriptionDefault
actionIdYesAction ID (path)
resourceIdYesResource ID (path)
deploymentIdYesDeployment ID (path)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is fully covered. The description adds nothing beyond the endpoint path – no auth requirements, no behavior when the action/resource does not exist, no note on whether the action's runnable state is included.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, purpose front-loaded in the first line, no filler. The trailing GET path largely restates the schema's path parameters, so it is slightly redundant but not bloated.

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 simple read-by-ID with a fully documented schema and complete safety annotations, this is minimally adequate. It lacks any explanation of what an 'action' represents in this deployment/resource hierarchy, which is the main gap an agent would care about.

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% and every parameter is documented as a path parameter, so the baseline is 3. The description mentions Resource ID and Action ID and the URL template implies deploymentId as the container, but it contributes no additional semantics such as formats or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: fetch/return 'an action' for a resource identified by Resource ID and Action ID. The singular 'an action' implicitly distinguishes it from the sibling list tool deployment_get_resource_actions, but the description never names that alternative. Clear purpose, weak sibling differentiation.

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

Usage Guidelines2/5

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

No indication of when to use this versus deployment_get_resource_actions, deployment_get_deployment_action, or deployment_get_resources_by_resource_id_actions_by_action_id. No prerequisites or exclusions are stated; the agent must infer usage from the name alone.

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

Deploy Server

Other Tools