Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

read_cloud_code

Read-only

Read a deployed cloud code file to inspect what actually runs, including when it differs from a local checkout, and trace errors from logs back to source.

Instructions

Read a cloud code file as it is deployed. Use it to see what really runs, which may differ from a local checkout, when tracing an error from get_error_logs to its code.

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": {
      "appObjectId": "<appObjectId>",
      "filePath": "<filePath>"
    },
    "name": "read_cloud_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesThe path to the file (e.g., "main.js" or "cloud/main.js")
appObjectIdYesThe app: its name or objectId (see list_apps)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds real context beyond that: this returns the deployed artifact, which can diverge from a local checkout — the key behavioral caveat. It says nothing about missing-file behavior or response shape, but for a read-only tool that is a minor gap.

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?

Two sentences, zero filler. The core action is front-loaded and the usage guidance follows immediately, with no restatement of the tool name or schema contents.

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 two-parameter read-only tool with full schema coverage and no output schema, the description covers purpose, the deployed-vs-local nuance, and the error-tracing workflow. Only edge-case behavior (file not found, large files) is unaddressed, which is acceptable at this complexity.

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%, with both filePath (with examples) and appObjectId (pointing at list_apps) documented in the schema. The description adds no parameter-level meaning, such as whether filePath is relative to the cloud root or how paths resolve. Baseline 3 is appropriate when the schema carries the parameter burden.

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 (read a cloud code file) with a meaningful scope qualifier: 'as it is deployed,' which tells the agent this is the live/running copy rather than a local one. It does not explicitly distinguish itself from the file-listing sibling, so an agent must infer that list_cloud_files enumerates while this one returns content.

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?

Gives a concrete when-to-use scenario and an explicit workflow: trace an error from get_error_logs down to the code that produced it. It also explains why this tool rather than a local read (deployed state may differ). There are no when-not conditions or named alternatives, which keeps it just short of a 5.

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