Skip to main content
Glama

StudyScout for Business

Check an uploaded video and get the link a study takes

completeUpload
Idempotent

Check an uploaded video and get the link a study takes. After the PUT: it checks the file is there and is a video, and answers with upload.mediaUrl, to use as a question’s media.url (kind video) or an ad ranking’s ads[].url. Safe to call twice: the same link. Not there yet: 409, so PUT it first.

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": {
      "uploadId": "<uploadId>"
    },
    "name": "completeUpload"
  }
}

Input Schema

NameRequiredDescriptionDefault
uploadIdYesupload.id from createUpload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=false, and the description corroborates idempotency while adding the validation behavior ('checks the file is there and is a video') and the 409 failure mode. It stops short of describing what counts as a valid video (format/size limits) or when the 409 clears, so it adds real but not exhaustive context.

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?

Front-loads the action and outcome, then layers prerequisite, idempotency, and error case in two tight sentences using telegraphic fragments with no filler. Every clause carries a distinct operational fact.

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?

No output schema exists, and the description compensates by naming the returned field and its downstream consumers, plus the 409 case. For a one-parameter tool this is nearly complete; only validation specifics (accepted video types, how long the 409 persists) are left out.

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?

With a single parameter at 100% schema description coverage, the schema already documents uploadId as 'upload.id from createUpload.' The description implies the same origin through 'After the PUT' but adds no format or sourcing detail beyond the schema, so baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Check an uploaded video and get the link a study takes') and names the concrete return field, upload.mediaUrl, plus where it plugs in (a question's media.url with kind video, or ads[].url). An agent can distinguish this from createUpload because the description positions it explicitly as the post-PUT step.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('After the PUT'), an exclusion/error path ('Not there yet: 409, so PUT it first'), and an idempotency guarantee ('Safe to call twice: the same link'). The guidance also tells the agent exactly where the returned URL is consumed, leaving little inference.

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.