Skip to main content
Glama

Create document

create_document

Create a studio document that links to an external URL (e.g. a Google Doc or public PDF link). To upload a file directly, use the web dashboard's Materials page instead.

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": {
      "title": "<title>",
      "file_url": "<file_url>"
    },
    "name": "create_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoDefault 'other'.
titleYes
audienceNoWho this is for. Default 'members'.
file_urlYes
descriptionNo
offering_idNoOptional — scopes this to one offering instead of the whole studio.
class_session_idNoOptional — scopes this to one class session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the mutation/safety profile is covered structurally. The description adds the useful constraint that content is an external link rather than an uploaded file, but says nothing about required permissions, whether the URL is validated or fetched, or what happens if the same URL is added twice. Non-idempotency in particular is declared but not explained.

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?

Two sentences, zero waste, with the defining constraint front-loaded before the redirect. Nothing needs trimming and nothing is buried.

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?

For a 7-parameter mutation tool with no output schema and only partial schema coverage, the description covers the core concept but leaves scope-selection semantics and post-creation expectations (does it return a document ID? is it immediately visible to the assigned audience?) unaddressed. Annotations carry the safety burden, so the remaining gap is moderate rather than severe.

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 57%, with kind, audience, offering_id, and class_session_id documented inline while title, file_url, and description are bare. The description does add meaning for file_url by defining it as an external URL rather than a path, which is real value. It does not clarify the interaction between offering_id and class_session_id or what the free-text description field is for.

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?

The description gives a specific verb and resource ('Create a studio document') plus a defining constraint: the document links to an external URL such as a Google Doc or public PDF. That distinguishes it from any binary-upload path. It does not, however, differentiate it from sibling document tools like create_rag_document or update_document, leaving the agent to infer the distinction.

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

Usage Guidelines4/5

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

There is a genuine when-not clause: 'To upload a file directly, use the web dashboard's Materials page instead,' which steers the agent away from a misuse. What's missing is guidance on the in-toolset alternatives and on how to choose between whole-studio vs. offering-scoped vs. class-session-scoped creation.

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