Skip to main content
Glama

train_upload_session_create

Mint short-lived credentials for direct uploads to the workspace VM

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": {
      "workspaceSlug": "<workspaceSlug>",
      "body": "<body>"
    },
    "name": "train_upload_session_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, closed-world mutation, so the basic safety profile is covered. The description adds genuinely useful context beyond that — the credentials are short-lived, and the flow is direct-to-VM — but omits what gets created (the name implies a session resource), the lifetime of the credentials, and what the caller should do with them afterwards.

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?

One tightly written sentence with the key qualifier ('short-lived') and target front-loaded; nothing can be trimmed. It is efficient but under-specified rather than over-long, which is a different failure mode than verbosity.

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 an undocumented nested body parameter, no output schema, and no annotations covering the response, the description leaves an agent unable to construct the call: it does not say what fields body accepts, what the returned credentials look like, or how the created session is later referenced or deleted. The heavy sibling overlap (four upload-session/URL variants) is also unaddressed.

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 description coverage is 0% and both parameters are undocumented: 'workspaceSlug' (a plain string) and 'body' (a nested object with an empty properties map). The description says nothing about what belongs in body or how workspaceSlug is formatted; the only residue is the loose hint that the target is a 'workspace VM'. With zero coverage the description is required to compensate, and it does not.

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 and resource: 'mint short-lived credentials' plus the target ('workspace VM') and use case ('direct uploads'). That is far more informative than a restatement of the name, though it never distinguishes this tool from the closely named siblings train_upload_url_create, agent_train_upload_session_create, or agent_train_upload_url_create, so an agent cannot tell which of the four it needs from the description alone.

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?

Usage is only implied by the phrase 'for direct uploads to the workspace VM' — an agent can infer this is the credential-minting path rather than the URL-creation or listing path. No explicit when-to-use condition, no prerequisites such as workspace permissions, and no named alternative that would select train_upload_url_create instead.

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