Skip to main content
Glama

Rebuild app

rebuild
Destructive

Re-runs an app's most recent build from the same source and deploys it. Name the app, or give a build id to rebuild that build's app. Changes the running app: confirm with the user first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rebuild"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe app's name.
build_idNoA build of the app to rebuild.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, and the description adds genuinely useful context beyond them: that the running app is changed and the user should confirm first. It stops short of describing impact on live traffic, rollback, or what happens on failure.

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?

Three short sentences, front-loaded with the operation, then the targeting options, then the safety warning. No filler or redundant restatement of the title.

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 two-optional-parameter destructive tool with a fully documented schema, no output schema, and full annotation coverage, the definition supplies the operation, target selection, and the confirmation requirement. Nothing essential to correct invocation is missing.

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 already 100%, yet the description earns credit by explaining the relationship the schema cannot: the two parameters are alternative targeting modes (app name vs. build id), with build id resolving to that build's app. That is meaningful semantic addition, not repetition.

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 uses a specific verb chain (re-runs, deploys) and a specific resource (an app's most recent build from the same source), and explains that a build id targets that build's app. That distinguishes it from a generic deploy in practice, though it never names deploy_app explicitly, so sibling differentiation is implied rather than stated.

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?

It gives clear selection guidance for the two parameters ('Name the app, or give a build id') and a precondition ('confirm with the user first'). It does not state when rebuild is preferable to deploy_app or what to do when no prior build exists, which keeps it short of a 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.