Skip to main content
Glama

Add example

add_example
Destructive

Add a ready feature to your app: {app, name} (+ optional wait). Commits the example's pages, nav, bindings and migrations in one change and deploys.

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": {
      "app": "<app>",
      "name": "<name>"
    },
    "name": "add_example"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app slug.
nameYesThe example name (`examples` lists them). Its `requires` apply first.
waitNoWait for the deploy (default true). False returns immediately; poll deploy_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-idempotent, and the description adds substance on top: this is a bundled write that commits pages, nav, bindings and migrations in a single change and then deploys. It also clarifies wait semantics and the polling escape hatch. It does not say what existing content may be overwritten or whether failures leave a partial commit, which are the main remaining gaps for a destructive tool.

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?

Two tight sentences with the operation and its side effects front-loaded, then the optional wait behavior. The pseudo-signature "{app, name} (+ optional wait)" is slightly telegraphic and partially duplicates the schema, but nothing is padded.

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?

For a three-parameter destructive tool with no output schema, the description conveys what changes, that a deploy happens, and how to handle asynchronous completion. It omits any indication of what the call reports back on success or failure, which is the one thing an agent may still need.

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 app, name and wait are already fully documented in the schema, including the wait default and the deploy_status polling advice. The description only restates the signature and adds no format, constraints or validation meaning beyond it. Baseline 3 applies.

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 and resource ("Add a ready feature to your app") and enumerates what the operation touches: pages, nav, bindings and migrations in one commit plus a deploy. That is far more concrete than the title. It does not explicitly position itself against sibling mutation tools like commit or ship, so it falls short of the sibling-differentiating level.

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?

Points the agent to the `examples` tool to discover valid names and warns that the example's `requires` apply first, which is a real prerequisite. It also names deploy_status as the follow-up when wait=false. No explicit when-not guidance or exclusion relative to other deploy paths, so not 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.