Skip to main content
Glama

AssetLab

Create project document

create_project_document

Create a project document record. Requires project_documents:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDocument name (required)
file_pathYesStorage path from upload URL response (required)
file_sizeNoFile size in bytes
file_typeNoMIME type
folder_idNoFolder ID
project_idYesProject ID (required)
descriptionNoDescription
uploaded_byYesUploader user ID (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the non-idempotent mutation profile is covered. The description adds a genuine auth requirement (project_documents:write scope), which is real value beyond the structured fields, but says nothing about side effects, whether duplicate names are allowed, or the interaction with the upload flow.

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 short sentences with the action front-loaded and the permission requirement immediately after. Nothing is padded or repeated.

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 non-idempotent create with annotations covering the safety profile and no output schema, the description is adequate but thin. It omits the two-part workflow implied by 'file_path (from upload URL response)' — that an upload must happen first — and gives no hint of what the created record contains.

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 eight parameters are already documented in the schema, including the required project_id, name, file_path and uploaded_by. The description adds no meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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 project document record'), which cleanly separates it from the many sibling create_*_document tools (asset, contract, infrastructure asset). It does not, however, explicitly name any sibling or state how it differs from update_project_document or create_project_document_folder_template.

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?

The description states a prerequisite scope (project_documents:write) but gives no when-to-use guidance, no when-not-to-use, and no pointer to alternatives such as create_upload_url for obtaining the file path. An agent gets no routing help.

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