Skip to main content
Glama

Create Clarity Document Upload Url

createClarityDocumentUploadUrl

Create a signed URL for uploading a PDF, Word (.docx), TXT, Markdown, BPMN, XLSX, or CSV document directly to GCS

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe clarity process ID
fileNameYesName of the document file
contentTypeYesMIME type of the document
extraCaptureRequestIdNoExtra-capture-request id to bind this capture to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / contentType / enum
      Previous value: -[
      -  "application/pdf",
      -  "text/plain",
      -  "text/markdown",
      -  "application/xml",
      -  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      -  "text/csv",
      -  "application/vnd.ms-excel"
      -]New value: +[
      +  "application/pdf",
      +  "text/plain",
      +  "text/markdown",
      +  "application/xml",
      +  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
      +  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      +  "text/csv",
      +  "application/vnd.ms-excel"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / contentType / enum
      Previous value: -[
      -  "application/pdf",
      -  "text/plain",
      -  "text/markdown",
      -  "application/xml"
      -]New value: +[
      +  "application/pdf",
      +  "text/plain",
      +  "text/markdown",
      +  "application/xml",
      +  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      +  "text/csv",
      +  "application/vnd.ms-excel"
      +]
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-obvious context: the URL is signed and the upload target is GCS directly. It omits URL expiration, HTTP method, and that a completion call is required, so it only partially exceeds the annotation floor.

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?

A single front-loaded sentence with the verb first and no boilerplate. The enumerated accepted formats partly duplicate the contentType enum, a minor redundancy, but the sentence still 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?

No output schema exists, so the description carries the burden of describing the return, and "signed URL" only hints at it. For an upload-flow tool it should mention expiry, upload method, and the completion step; given the annotations cover safety and the schema covers inputs, this is adequate but with clear gaps.

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 description coverage is 100%, so all four parameters (id, fileName, contentType, extraCaptureRequestId) are already documented, establishing a baseline of 3. The file-type list in the description loosely maps to the contentType enum but adds no format or constraint detail beyond it, and extraCaptureRequestId is never mentioned.

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 ("Create a signed URL") scoped to Clarity document uploads, and the enumerated file types (PDF, docx, TXT, Markdown, BPMN, XLSX, CSV) signal that this is the document variant rather than image/video. It does not explicitly name createClarityImageUploadUrl, createClarityVideoUploadUrl, createClarityTeamDocumentUploadUrl, or createClarityOrganizationDocumentUploadUrl, which are easy to confuse given the crowded upload-url sibling set.

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

Usage Guidelines2/5

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

No when-to-use or when-not guidance, and no indication of the prerequisite (existing Clarity process id) or the required follow-up. The workflow implication that a signed URL must be followed by completeClarityDocumentUpload is absent, despite that sibling existing.

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