Skip to main content
Glama

uploadWidgetTicketTool

Used by the upload widget to get a short-lived upload ticket for the sessionId returned by uploadWidgetTool.

Input Schema

NameRequiredDescriptionDefault
sessionIdYesThe sessionId returned by uploadWidgetTool

Output Schema

NameRequiredDescriptionDefault
errorNo
ticketNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With annotations declaring readOnlyHint=false, idempotentHint=false and destructiveHint=false, the safety profile is already covered. The description adds that the ticket is 'short-lived', a genuine behavioral detail beyond structured fields, but says nothing about whether repeated calls issue new tickets or invalidate prior ones.

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?

A single sentence with zero filler, front-loading the purpose and the provenance of the input. Every clause 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?

An output schema exists, so return values need not be explained, and the one parameter is fully documented. What remains missing is the downstream half of the workflow — what the ticket is used for and how it relates to uploadWidgetTool/uploadWidgetStatusTool after issuance.

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% and the schema's own description of sessionId ('returned by uploadWidgetTool') already carries the semantics. The tool description merely restates that origin, adding no new meaning about format, validation or lifetime.

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?

Specific verb+resource: gets a short-lived upload ticket, scoped to a sessionId. It ties itself to the sibling that produces the sessionId (uploadWidgetTool), which makes its role in the widget flow distinguishable from uploadWidgetTool and uploadWidgetStatusTool.

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?

It implies the prerequisite chain by saying the sessionId comes from uploadWidgetTool, so the agent knows to call that first. However, there is no explicit statement of when this tool must be called (before an upload?) or when it should not, and no alternatives are named despite several upload siblings.

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