Skip to main content
Glama

AnyShare by Anysoft

Complete document upload

complete_document_upload
DestructiveIdempotent

Confirm the bytes have been uploaded, queue conversion and apply reserved room placement, exposing content to existing room recipients. Safe to retry. Returns processing status; queued does not mean ready.

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": {
      "upload_id": "<upload_id>"
    },
    "name": "complete_document_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
upload_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the actual side effects: conversion is queued, reserved room placement is applied, and content becomes visible to existing room recipients — a real consequence given destructiveHint. 'Safe to retry' reinforces idempotentHint, and 'queued does not mean ready' is a genuinely useful caveat. It stops short of stating permissions or what exactly the destructive aspect is.

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 tight sentences, front-loaded with the primary action and effects, then the retry-safety note, then the status caveat. Every clause carries information; nothing is repeated from the schema or annotations verbatim.

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?

An output schema exists so return structure need not be described, yet the description still adds the important semantic that a queued status is not readiness. The main omission is where upload_id comes from and what prerequisite state must hold before calling a destructive, open-world mutation.

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% for the single upload_id parameter, and the description never mentions it or its provenance (presumably from a prior upload request). With only one parameter the gap is small since the name is largely self-explanatory, but the low coverage means the description should have compensated and 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 act: confirming uploaded bytes, queuing conversion, and applying reserved room placement. This clearly separates it from request_document_upload/upload_document (which move bytes) without naming those siblings, so an agent can place it in the upload lifecycle, but the differentiation is implicit rather than explicit.

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 phrase 'Confirm the bytes have been uploaded' implies it belongs after an upload step, which is decent implied sequencing. There is no explicit when-not-to-use, no prerequisite statement (e.g. requires a prior reserved upload), and no named alternatives such as get_upload_status, so guidance remains inferred.

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