Skip to main content
Glama

Upload a file for an app

upload_app_file

Used by the panel ask_for_app_file shows. Don't call it yourself.

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": {
      "reference": "<reference>",
      "name": "<name>",
      "size": "<size>",
      "offset": "<offset>",
      "data": "<data>"
    },
    "name": "upload_app_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
nameYes
sizeYes
offsetYes
uploadNo
referenceYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

C2.7/5.0
Behavior3/5

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

The annotations already declare non-readonly, non-destructive, and non-idempotent behavior. The description adds useful context that the tool is UI-panel-invoked and not agent-invoked, but it does not explain chunking/offset behavior, overwrite semantics, or other side effects of this six-parameter upload.

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?

It is two short sentences with no filler, and the usage restriction is prominent. The phrase 'the panel ask_for_app_file shows' is slightly awkward, but the text is not wasteful.

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

Completeness2/5

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

For a mutation tool with six undocumented parameters and no output schema, the description is far too thin. It adequately prevents agent use, but it does not explain parameter mechanics or upload behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are six parameters with 0% schema description coverage, and the description explains none of reference, name, size, offset, data, or upload. It adds no meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the caller (a panel associated with ask_for_app_file) and warns the agent not to call it, but never states what the operation does. The title and name convey 'upload a file for an app,' yet the description itself does not describe the action or scope.

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 an explicit when-not instruction: 'Don't call it yourself,' and states that it is used by the panel. It does not name an alternative sibling for uploading files, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources