Skip to main content
Glama

Replace site code (advanced)

deploy
DestructiveIdempotent

Replace the server-side code of an existing roost. Advanced — most agents should use upload (for static files) or convert (for renames) instead. Pass tenantId, workerName, and a full ES module script (text only, 1.5 MiB max).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYesFull ES module source.
metadataNo
tenantIdYes
approvalIdNoTier-2 phone approval id from a prior deploy attempt.
workerNameYes
sessionTokenNoOptional paired session token from poll_pairing (when Authorization headers are unavailable).

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate destructive and non-read-only behavior, so the bar is lower. The description adds useful constraints: 'text only, 1.5 MiB max' for the script, and it implies that the operation is a full replacement. It does not elaborate on side effects beyond what annotations cover, but the added size/format constraints provide extra transparency.

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 concise: two sentences that lead with the core purpose, then provide guidance and key constraints. There is no filler or repetition of schema details. It is well-structured and front-loaded.

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

Completeness4/5

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

Given the tool has 6 parameters and no output schema, the description covers the main purpose, alternatives, and key parameter constraints. However, it omits context about the approval workflow (e.g., when `approvalId` or `sessionToken` are needed) and does not describe return values or success behavior. It is adequate but not fully comprehensive.

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 50%, so the description needs to compensate. It does clarify that `script` must be a full ES module and size-limited, and it names the required parameters. However, it does not explain the semantics of `tenantId` and `workerName` (which lack schema descriptions), leaving some ambiguity. Overall, it adds some value but not comprehensive compensation.

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?

The description clearly states the action ('Replace the server-side code of an existing roost') with a specific verb and resource. It distinguishes itself from siblings by explicitly mentioning `upload` and `convert` as alternatives for different use cases, making the tool's unique scope evident.

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

Usage Guidelines5/5

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

The description provides clear usage guidance: it warns that this is 'Advanced' and most agents should use `upload` or `convert` instead. It also specifies the required parameters (`tenantId`, `workerName`, `script`), giving direct instructions on when and how to invoke the tool.

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.

TDQS

A3.8/5.0
Disambiguation3/5

Core actions like hatch, convert, upload, and lookup are generally distinct, but the polling family (poll_approval, poll_decision, poll_pairing) is easy to confuse, and await_decision misleadingly sounds like a wait operation rather than the creation of a review. Descriptions clarify boundaries, but the names alone leave room for misselection.

Naming Consistency3/5

Most tools use an imperative verb style, but the pattern is inconsistent: some are bare verbs (hatch, convert, deploy, list, lookup, share, upload), some are verb_noun (poll_decision, refresh_session, get_pairing_code), and auth is a bare noun. The names are readable but do not follow one predictable convention.

Tool Count3/5

16 tools sits at the heavy end of the comfortable range, inflated by three polling tools plus pairing/session management that are only tangentially related to the core task of creating and updating roosts. Each tool has a purpose, but the surface feels larger than the core domain requires.

Completeness3/5

The set covers create, read/list, update via convert/upload/deploy, sharing, and auth, but there is no delete/destroy or teardown tool, and custom domain/state management is only passively visible through lookup. Agents can complete common workflows but will hit dead ends on teardown or lifecycle management.