Skip to main content
Glama

cloud_pod_write_file

Create or overwrite a text file in one of your Agent Pods, including a Coding sandbox (up to 256 KB per file, 128 KB per request). Needs a key with full pod control (pods:control:write).

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": {
      "computeApiKey": "<computeApiKey>",
      "podId": "<podId>",
      "path": "<path>",
      "content": "<content>"
    },
    "name": "cloud_pod_write_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path, relative to the pod workspace or absolute inside it
podIdYesAgent Pod id (uuid)
contentYesFull file content
computeApiKeyYesSingularity Cloud API key with full pod control (pods:control:write). Pod keys cannot use the sandbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does well on the important traits — overwrite (destructive) semantics, effective payload ceilings of 256 KB per file and 128 KB per request, and the required permission scope — but says nothing about whether parent directories are created, what is returned, or what happens on partial failure.

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 dense sentences with the action and the primary constraint front-loaded; no filler. The size and permission caveats are packed efficiently into the same sentences rather than spread out.

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 an unannotated write tool with no output schema and four fully-documented parameters, the description covers purpose, mutation semantics, auth scope, and size limits — enough to call it correctly. Return values and directory-creation behavior remain unstated but are less critical here.

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 the baseline is 3. The description adds practical payload limits that the schema does not express (its content maxLength is 1,000,000 characters versus the stated 256 KB/128 KB caps), but it adds nothing about path semantics or the computeApiKey parameter beyond the schema.

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?

The description names a specific verb pair and resource ('Create or overwrite a text file') and scopes it to Agent Pods including a Coding sandbox, so an agent can distinguish it from pod listing or exec tools. It does not explicitly name the closest sibling (e.g. cloud_pod_files or cloud_pod_exec) to sharpen the boundary, which keeps it just short of a 5.

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?

It gives clear preconditions for use: a key with full pod control (pods:control:write), and implicitly that pod-scoped keys cannot target the sandbox. However, it never states when to choose this over cloud_pod_exec or cloud_pod_files, so no explicit alternatives or exclusions are provided.

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