Skip to main content
Glama

devtune_upload_library_item

Upload a text document into the project Library, optionally replacing an existing upload as its next version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
contentYes
replaceItemIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only mentions 'upload' and optional replacement, but does not disclose permissions, whether old versions are preserved, idempotency, or what happens on failure. Critical behavioral context for a write operation is missing.

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?

One sentence with no waste. The purpose is front-loaded, and the optional replacement behavior is mentioned early. Excellent conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given there are no annotations and no output schema, the description is too sparse. It omits error handling, size limits (though schema has maxLength), auth requirements, and the exact semantics of replaceItemId. An agent would lack sufficient context to use this tool reliably, especially when deciding between upload and update.

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%, so the description must compensate. It mentions 'text document' and 'optionally replacing' but does not explain the individual parameters (title, content, replaceItemId) or their constraints. While parameter names are self-explanatory, the description adds minimal value beyond the schema.

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 clear action (upload) and resource (text document into Library), and mentions optional replacement as next version. However, it does not differentiate from the sibling devtune_update_library_item, leaving ambiguity about when to upload vs update.

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?

Implies usage: create a new library item or replace an existing one as a new version. But it does not explicitly state when to use this over alternatives like update_library_item, nor any exclusions or prerequisites.

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