Skip to main content
Glama

Nimbus Land

Check source before deploying

detect_source
Read-onlyIdempotent

Dry run for deploy_source: pass the same files and learn what the platform detects (stack, how it builds, static site or server, suggested release command and services) and whether it is ready to deploy, needs a check, or is blocked and why. It also gives the estimated monthly cost, and the volume the app needs to keep its data with its price. Stores nothing and starts no build. What deploys: a server that listens on the PORT environment variable on all interfaces (0.0.0.0); or a static site, which is files in a publish directory with an index.html; a Dockerfile at the root decides the build when there is one. Files an app writes to its own disk are lost on every deploy and restart. Data to keep goes on a volume: the volume argument on a deploy, or add_volume for a deployed app. For an app whose data is a SQLite file, call add_sqlite_database once the app is deployed: it keeps the file on a volume and backs it up. A volume costs money, so give the user its price and ask first. At most 500 files and 1 MiB in total; never node_modules, .git or build output. To deploy a Claude artifact: an HTML artifact goes in files as index.html; a React artifact goes in react_component unchanged, as one string (do not rewrite it as a project: the platform builds the project around it); an SVG, Markdown or Mermaid artifact is written as an index.html 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": "detect_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoText files: relative path (forward slashes) to the file's full content.
titleNoWith react_component: the page title shown in the browser tab. Defaults to the app's name.
binary_filesNoBinary files such as images: relative path to the content in base64. Text files go in files.
react_componentNoA React artifact, instead of files: the single component file's full source, unchanged, with the component as its default export. The platform builds it with React, Tailwind, lucide-react, recharts and the shadcn/ui components under @/components/ui, and publishes a static site. Do not pass files as well.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description reinforces this with 'Stores nothing and starts no build', plus the three possible verdicts (ready / needs a check / blocked and why). It adds real context beyond the annotations, though it does not describe response shape or latency for the analysis.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and return values are front-loaded, but the middle section drifts into deployment runtime rules (PORT binding, 0.0.0.0, disk-loss warnings, volume pricing) that belong primarily to deploy_source. Roughly a third of the text serves the follow-up deploy rather than this dry-run tool, diluting an otherwise dense definition.

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?

With no output schema and a nested-object input, the description carries the full burden and does so: it enumerates detected outputs, verdict states, cost and volume estimates, input limits, and artifact handling. An agent has enough to call it correctly and interpret the result without opening another tool.

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 the baseline is 3; the description goes further by adding limits the schema lacks (1 MiB total, never node_modules/.git/build output) and by spelling out the react_component contract ('unchanged, as one string, do not rewrite it as a project') and artifact-to-file mapping rules. It omits any mention of binary_files, which is documented only in the schema.

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?

Opens with a specific verb+resource framing: 'Dry run for deploy_source' with the same inputs, and enumerates exactly what is returned (stack, build method, static vs server, release command, services, readiness verdict, cost, volume). The sibling deploy_source is named and the distinction (checks vs. deploys) is unmistakable.

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?

The title and first sentence make the when-to-use condition clear (before deploying, pass the same files), and follow-up actions for blocked/unready cases are routed to add_volume and add_sqlite_database. It stops short of explicit when-not-to-use guidance or stating whether a deploy_source call alone is ever sufficient.

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.