Skip to main content
Glama

SaaS Pro Max

Execute api operation

execute_api_operation
Destructive

Perform a Management API change explicitly requested by the user after discovering its contract with get_api_capabilities. Supports application settings and other API writes. Tenant permissions, scopes, validation and audit remain enforced; console-only destructive or external actions cannot bypass approval.

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body matching the discovered bodySchema; omit for operations with no body
pathNoNamed path parameters, e.g. { app: 'orgSlug/appSlug', id: 'resource-id' }
queryNoNamed query parameters from the capability, including env for environment and repeated filter values
operationIdYesExact operationId returned by get_api_capabilities

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint, openWorldHint, and idempotentHint=false, so the safety profile is partly covered. The description adds meaningful context beyond that: tenant permissions, scopes, validation, and audit remain enforced, and console-only/external actions are gated by approval — material behavior an agent needs before firing a write.

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 sentences, front-loaded with the action and its prerequisite, and no filler beyond the mildly redundant "Supports application settings and other API writes." Every other clause carries real constraint information.

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?

The discover-then-execute loop and enforcement boundaries are covered, which is the core need for a generic API executor. However, with no output schema and no statement about what a successful execution returns (or its failure shape), an agent still cannot predict the response of a destructive, non-idempotent write.

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%, so baseline is 3; each parameter is already documented in-schema (operationId from get_api_capabilities, body matching bodySchema, named path/query params, env for environment). The description adds no parameter-level detail beyond hinting that the contract comes from discovery.

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+resource ("Perform a Management API change") and scopes it to operations whose contract was discovered via get_api_capabilities, which cleanly separates it from the discovery sibling. The brief phrase "application settings and other API writes" is vague about the full scope and never contrasts it with the read sibling read_api_operation, keeping it below a 5.

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?

Gives a concrete prerequisite workflow: use get_api_capabilities first, then execute what the user explicitly requested. It also sets a boundary (console-only destructive or external actions cannot bypass approval). It stops short of naming explicit when-not-to-use conditions or pointing at read_api_operation for non-mutating cases.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources