Skip to main content
Glama

PillDrops

rollback_function

Restore the code of an earlier deployment; settings stay as they are.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "deployment": "<deployment>"
    },
    "name": "rollback_function"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesfunction name
deploymentYesdeployment id from list_function_deployments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that settings are preserved, but for a mutation tool it omits critical behavior: required permissions, reversibility of the rollback, impact on live traffic or running instances, and what happens to the current deployment. This is a significant gap.

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, front-loaded sentence with no wasted words. It communicates the core action and the key scope constraint efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is too thin. It covers the central semantic (code restored, settings unchanged) but leaves out permissions, reversibility, side effects on running services, and failure modes. The agent cannot fully assess the operation's risk from this definition alone.

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 the input schema already documents both parameters. The description adds no parameter-level meaning beyond what the schema provides, which is acceptable given full schema coverage but not value-adding.

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?

The description states a specific verb and resource: 'Restore the code of an earlier deployment.' It also clarifies scope by adding 'settings stay as they are,' which distinguishes it from a full update or redeploy. It does not name a sibling tool, but the behavioral distinction is clear.

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 when to use it: to roll back code without altering settings. However, it does not explicitly state when not to use it, prerequisites, or name an alternative tool such as update_function for settings changes. Usage is implied rather than spelled out.

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.