Skip to main content
Glama

Send code from a terminal

upload_source

Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. The upload command (curl) that sends the project folder to while from a terminal, through a 15-minute link; deploy_app then deploys it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
trialNoThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
projectNoThe project.
languageNoTrial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English.
terminalNotrue: the curl command even when the client presents itself as a conversation (a client with a terminal that reaches while).
environmentNoProduction or a preview.production

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Trial creation: your user's language (while's for them, their app's and their emails'); without it, your session's, then English."New value: +"Trial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English."
    • changedInput schema / properties / trial / description
      Previous value: -"The key returned by the first deploy_app (trial_key), passed again on each call."New value: +"The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=false, idempotentHint=false), the description discloses several things the annotations cannot: trial-only, not for production, time-limited availability, a 15-minute link lifetime, and the side effect that the first keyless call creates a trial. It does not clarify what happens to source already uploaded or what the call returns, which is why it is not a 5.

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?

Three short sentences with no padding, but the middle one is a grammatical fragment ('to while from a terminal, through a 15-minute link') that forces re-parsing, and the trial caveat leads rather than the core action. Functionally tight, but the structure costs clarity.

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 tool with zero required parameters, no output schema, and full schema coverage, the definition supplies the important context: trial lifecycle, link expiry, and the handoff to deploy_app. Minor gaps remain around what the response actually contains (key, link, command text) and the unexplained product name 'while.'

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%, so all five parameters are already documented, including the trial key's origin and the language fallback. The description only indirectly reinforces the trial parameter ('without a key, this first call creates the trial') and adds nothing about terminal, environment, or project beyond what the schema states; baseline 3 applies.

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?

It names a concrete action (produce an upload command / curl that sends the project folder) and distinguishes it from deploy_app, which does the actual deployment. The fragmentary phrasing ('the upload command (curl) that sends the project folder to while from a terminal') leaves a little ambiguity about whether calling the tool performs the upload or merely returns a command to run, but the resource and the sibling relationship are identifiable.

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 states the calling sequence explicitly: use this first, and 'deploy_app then deploys it,' so the agent knows the ordering relative to a sibling. It also gives a conditional rule — without a key, the first call creates the trial — but does not say when *not* to use it or name any alternative upload path.

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