Skip to main content
Glama

Put an earlier extension version back in the stores

roll_back_extension

Asks to put an earlier version of a project's browser extension back in the stores it is live in, for example when the newest version broke something. Without to_version it goes back to the version that was live before the current one; without store it goes back in every store. The stores see it as a new version and may review it again. Nothing happens until you approve it in CodeGene: the answer gives a link to the request, which waits there for 15 minutes. Send the person that link; you cannot approve it. Then call get_approval with the requestId to learn how it ended.

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": {
      "project_id": "<project_id>",
      "extension_id": "<extension_id>",
      "reason": "<reason>"
    },
    "name": "roll_back_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeNoOnly this store, as get_extension_store_status names it.
reasonYesWhy, in a sentence: kept in the workspace's activity.
project_idYesThe project (list_projects gives ids).
to_versionNoThe version to go back to, as get_extension_store_status lists it.
extension_idYesThe extension (get_extension_store_status lists them).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations, which only say readOnly=false, destructive=false, openWorld=false. It discloses that stores treat the rollback as a new version and may re-review it, that no change occurs until a human approves in CodeGene, that the approval link expires after 15 minutes, and that the caller cannot self-approve. This is exactly the operational context an agent needs for an approval-gated mutation.

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?

Four tight sentences, front-loaded with the action and the failure scenario that motivates it, then defaults, then side effects, then the follow-up call. No redundant restatement of the name or schema.

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?

For a six-parameter, approval-gated mutation with no output schema, the description covers the full lifecycle: what is changed, defaults, external side effects, the blocking approval step, the expiration window, and the exact follow-up tool call. Nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns extra credit by documenting the default semantics of the two optional parameters (no to_version means the previously-live version, no store means all stores), which the schema does not state. Required parameters are left to the schema, which fully documents them.

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?

States a concrete verb and resource: put an earlier version of a project's browser extension back into the stores it is live in. The 'browser extension' + 'stores' framing clearly separates it from the sibling version-restore tools (restore_knowledge_version, restore_report_version) without needing to name them.

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 clear triggering condition ('when the newest version broke something') plus explicit default behavior for both optional parameters, and flags the mandatory downstream step (get_approval). It stops short of naming or excluding alternative tools, so 4 rather than 5.

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