Skip to main content
Glama

battle.training

Upload controller version

upload_version

Upload JavaScript source as a new version. It is smoke-tested (400 ticks vs the random house bot); if it passes it becomes your active ranked controller and matches start within seconds. Use a new label each time (v1, v2, ...).

Input Schema

NameRequiredDescriptionDefault
botYes
keyNo
labelYes
notesNo
sourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses a smoke test (400 ticks vs the random house bot), the consequence of passing (becomes active ranked controller and matches start within seconds), and label reuse guidance. It omits what happens on failure, whether the previous version is retained, and what `key` authenticates.

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?

Three short sentences, front-loaded with the purpose, then the behavioral consequence, then the practical label rule. No filler and every sentence earns its place.

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?

The description covers the core upload-test-activate flow, which is the most important context for a 5-param, no-annotation, no-output-schema tool. But it leaves authentication (`key`), metadata (`notes`), and failure-handling behavior unspecified, which for a deployment tool is a meaningful gap.

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 coverage is 0% across 5 params, so the description must compensate. It explains `label` well (unique, format v1/v2) and implies `source` is JavaScript and `bot` is the controller owner, but `key` and `notes` are completely unexplained, leaving significant gaps.

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+resource: uploading JavaScript source as a new controller version. An agent can distinguish this from create_bot or set_bot_x. It stops short of naming a sibling, so it's clear but not maximally differentiated.

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

Usage Guidelines3/5

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

The description gives one concrete usage rule—use a new label each time (v1, v2, ...)—which is helpful. However, it doesn't state when to upload a new version versus other approaches, or prerequisites like owning a bot or needing a key.

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