Skip to main content
Glama

deploy_file_contents

Deploy files directly to Cloud Run by providing their contents in a chat context. Specify filenames and content for quick deployment without local file storage.

Instructions

Deploy files to Cloud Run by providing their contents directly. Takes an array of file objects containing filename and content. Use this tool if the files only exist in the current chat context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesArray of file objects containing filename and content
projectYesGoogle Cloud project ID. Leave unset for the app to be deployed in a new project. If provided, make sure the user confirms the project ID they want to deploy to.
regionNoRegion to deploy the service toeurope-west1
serviceNoName of the Cloud Run service to deploy toapp
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the deployment action but doesn't describe critical behavioral aspects like whether this is a destructive operation (overwrites existing files?), authentication requirements, rate limits, or what happens on success/failure. The description adds some context about project ID confirmation but lacks comprehensive behavioral details.

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?

The description is extremely concise (two sentences) and front-loaded with the core purpose. Every sentence earns its place: the first defines what the tool does, the second provides crucial usage guidance. No wasted words or redundant information.

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

Completeness3/5

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

For a deployment tool with no annotations and no output schema, the description provides adequate purpose and usage guidance but lacks important contextual information about what the tool actually does behaviorally (creates/updates services, potential side effects, error handling). The schema covers parameters well, but the description doesn't compensate for the missing behavioral context that annotations would normally provide.

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 schema already fully documents all 4 parameters. The description mentions 'array of file objects containing filename and content' which aligns with the schema but doesn't add meaningful semantic context beyond what's already in the parameter descriptions. The baseline is 3 when schema does the heavy lifting.

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?

The description clearly states the specific action ('Deploy files to Cloud Run') and resource ('files'), and distinguishes it from sibling tools by specifying 'by providing their contents directly' and 'if the files only exist in the current chat context', which differentiates it from deploy_local_files and deploy_local_folder that presumably work with local file systems.

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?

The description explicitly states when to use this tool ('Use this tool if the files only exist in the current chat context'), providing clear guidance that distinguishes it from alternatives like deploy_local_files or deploy_local_folder, which would be used for files stored locally rather than in chat context.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GoogleCloudPlatform/cloud-run-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server