Skip to main content
Glama
Cloady

Cloady

Official
by Cloady

Inspect Source

inspectSource
Destructive

Inspect a Git, uploaded, or catalog source and preview its template to verify deployment details before creating an app.

Instructions

Inspect a source and preview its template

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": {
      "workspaceSlug": "<workspaceSlug>"
    },
    "name": "inspectSource"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestBodyNoThe JSON request body.
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.18.0
    • changedInput schema / properties / requestBody / properties / source / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "autoDeploy": {
      -        "type": "boolean"
      -      },
      -      "branch": {
      -        "maxLength": 255,
      -        "type": "string"
      -      },
      -      "branchTracking": {
      -        "properties": {
      -          "mode": {
      -            "enum": [
      -              "off",
      -              "all",
      -              "match"
      -            ],
      -            "type": "string"
      -          },
      -          "pattern": {
      -            "maxLength": 255,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ],
      -        "type": "object"
      -      },
      -      "repoUrl": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "subdir": {
      -        "maxLength": 255,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "git",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "repoUrl"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "subdir": {
      -        "maxLength": 255,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "upload",
      -        "type": "string"
      -      },
      -      "uploadId": {
      -        "format": "uuid",
      -        "pattern": "^([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)$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "name": {
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "catalog",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "name"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "autoUpdate": {
      +        "description": "Deploy every push to the branch: on unless set, except for development apps",
      +        "type": "boolean"
      +      },
      +      "branch": {
      +        "maxLength": 255,
      +        "type": "string"
      +      },
      +      "branchTracking": {
      +        "properties": {
      +          "mode": {
      +            "enum": [
      +              "off",
      +              "all",
      +              "match"
      +            ],
      +            "type": "string"
      +          },
      +          "pattern": {
      +            "maxLength": 255,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ],
      +        "type": "object"
      +      },
      +      "profiles": {
      +        "items": {
      +          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "repoUrl": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "subdir": {
      +        "maxLength": 255,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "git",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "repoUrl"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "profiles": {
      +        "items": {
      +          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "subdir": {
      +        "maxLength": 255,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "upload",
      +        "type": "string"
      +      },
      +      "uploadId": {
      +        "format": "uuid",
      +        "pattern": "^([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)$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "autoUpdate": {
      +        "description": "Install new versions of the template automatically: checked hourly, and an update that would change the app's price or type waits",
      +        "type": "boolean"
      +      },
      +      "name": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "profiles": {
      +        "items": {
      +          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      },
      +      "type": {
      +        "const": "catalog",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observedv0.5.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is carried by structured data. The description adds nothing to that and in fact pulls in the opposite direction — "inspect" and "preview" read as a harmless dry-run, with no mention of what side effects or state changes inspecting may cause, or that a git/catalog source may be fetched or resolved externally.

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?

A single seven-word sentence with zero padding and the core action front-loaded, so nothing is wasted. However, at this length for a tool with a three-way union parameter, brevity shades into under-specification rather than economy.

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

Completeness2/5

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

The tool is complex — nested oneOf source object, env selection, destructive and open-world annotations, no output schema — yet the description is seven words. It gives no sense of what the preview returns or what the caller should expect, which is far short of what an agent needs to invoke this confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50% and the schema is deeply nested, with source being a oneOf over git, upload, and catalog variants. The description says nothing about which source types exist or that the shape of the source object changes per type, so it fails to compensate for the coverage gap on the single most complex parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Inspect a source and preview its template" names a verb (inspect) and resource (source) and adds that a template preview is produced, so the intent is roughly graspable. But "inspect" is undefined — it does not say whether this resolves, validates, or renders the source — and it does not distinguish itself from the sibling inspectPublicSource, leaving ambiguity about which one applies to a workspace-owned source.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement of prerequisites (workspace access, git integration connected), no exclusions, and no routing to alternatives such as inspectPublicSource or listTemplates. The agent must infer usage entirely from the name and schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools