Skip to main content
Glama

Create a document

create_document

Insert a JSON object into a collection (collections are created implicitly). Counts against the write and document quotas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dbYesThe database URL returned at creation (or its bare s-... capability).
dataYesThe document: a JSON object.
collectionYesCollection name (created implicitly on first write).

TDQS

A3.8/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. Mentions side effect of counting against write and document quotas, and implicit collection creation. However, lacks details on authorization needs, rate limits, error conditions, or return behavior. For a write operation, this is moderately transparent but incomplete.

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 concise sentences that immediately convey the core action and a key side effect. No unnecessary words or repetition. Excellent front-loading of the main purpose.

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?

Covers the main purpose and significant behavioral aspect (quotas). Lacks explicit mention of error handling or return value, but given the simplicity of the tool and no output schema, the description is largely sufficient. Could be slightly more complete by specifying what happens on failure.

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 each parameter is already well-documented. The description reinforces the implicit creation for the 'collection' parameter but adds no new semantic information beyond what the schema provides. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the action (Insert a JSON object) and the target resource (collection). Distinguishes from siblings like create_database or delete_document by specifying the operation on a document. Also notes implicit collection creation which adds precision.

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?

Provides implicit usage context (collections are created automatically) but does not explicitly state when to use this tool versus alternatives like update_document or get_document. No when-not or exclusion criteria are given.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose, with descriptions that differentiate similar operations (e.g., create_database vs pro_create_database vs pro_attach_database). Agents can easily select the correct tool.

Naming Consistency4/5

Most tools follow a verb_noun snake_case pattern, but 'database_status' is noun_verb. The 'pro_' prefix is consistently used for Pro account tools. Overall pattern is clear and predictable.

Tool Count5/5

16 tools cover the full lifecycle of temporary databases, document CRUD, collection management, and Pro account operations. Each tool is justified and the count feels well-scoped for the domain.

Completeness5/5

The tool surface provides complete CRUD for documents, database lifecycle (create, delete, extend, status), and full Pro account management (checkout, cancel, create, attach, list). No obvious gaps for the stated purpose.

Resources