Skip to main content
Glama

inspect

Deploys a throwaway preview Worker at preview-*.worldsite.workers.dev (not publish.sornkan.com) after scanning the zip. This is the DEPLOY step — it counts against the free preview quota (first 3/day, then $0.10). The 4th+ can be paid two ways: sign the x402 retry with USDC on Base, or show the 402’s payment_url to the human (card / Thai PromptPay, same $0.10). Use scan (free, nothing deployed) while iterating on the zip; call inspect only when the human wants to see a preview. Do NOT inspect again just to read remaining time — use preview_status. If claimable is false, upload_url again; do not pay for that old id. Successful claim resets the free preview quota. After the human approves, ask which slug they want, then claim with the UUID and slug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uploadIdYesUUID of the uploaded zip to deploy as a preview, from upload_url

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / uploadId / description
      Added value: +"UUID of the uploaded zip to deploy as a preview, from upload_url"
  2. Changed3 schema fields changed
    • removedInput schema / properties / uploadId / description
      Removed value: -"UUID returned by upload_url that identifies the stored zip. Example: 00000000-0000-4000-8000-000000000001."
    • removedInput schema / properties / uploadId / format
      Removed value: -"uuid"
    • removedInput schema / properties / uploadId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  3. Changed3 schema fields changed
    • addedInput schema / properties / uploadId / description
      Added value: +"UUID returned by upload_url that identifies the stored zip. Example: 00000000-0000-4000-8000-000000000001."
    • addedInput schema / properties / uploadId / format
      Added value: +"uuid"
    • addedInput schema / properties / uploadId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the generic safety profile; the description adds substantial behavior: quota semantics (first 3/day free, then $0.10), the two payment paths (x402 retry with USDC on Base, or hand the 402's payment_url to the human), and the edge case for claimable=false (re-upload, do not pay for the old id). This is far beyond what readOnlyHint/destructiveHint convey.

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?

Front-loaded with the core action in the first sentence, and the dense billing/retry detail is all actionable rather than filler. It runs long, and the pricing/retry mechanics could be tightened, but no sentence is wasted.

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 side-effecting, quota-metered deploy tool with no output schema, the description covers the risk surface an agent needs: cost, quota reset, the 402 retry path, and the claimable=false fallback. Only the exact success/failure response shape is unstated, which is a minor gap.

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 coverage is 100% and there is only one parameter, so the schema already documents uploadId fully. The description reinforces the source ('from upload_url') but adds no syntax or format detail beyond the schema, so the baseline 3 is appropriate.

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 specific verb and resource ('Deploys a throwaway preview Worker at preview-*.worldsite.workers.dev') and explicitly frames it as the DEPLOY step, distinguishing it from scan (free, nothing deployed) and preview_status. An agent can tell exactly what this does and how it differs from every nearby sibling despite the misleading 'inspect' name.

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?

Gives explicit when-to-use ('call inspect only when the human wants to see a preview'), when-not-to-use ('Do NOT inspect again just to read remaining time — use preview_status'), and names the alternative for iteration (scan, free, nothing deployed). The post-approval workflow (ask slug, then claim with UUID and slug) is also spelled out.

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