Skip to main content
Glama

Create a collection

create_collection

Create a collection: a new resource (like a table) with its own REST endpoint at /api/collections/{slug}/records. Use one per kind of thing the app stores (tasks, users, orders). Free projects allow 3.

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable name, e.g. "Tasks"; the slug is derived from it
api_keyYesProject manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=false, destructive=false, openWorld=false, so the safety profile is covered. The description adds a genuine constraint not present in structured fields — the free-tier quota of 3 collections — which affects the decision to call. It stops short of disclosing failure modes such as slug collisions or what happens at quota.

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?

Three short sentences, each earning its place: identity/what-it-is, usage rule, and quota limit, with the definition front-loaded. No padding or restatement of the title.

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?

For a create tool with no output schema and full schema coverage, the description supplies the conceptual model, the resulting endpoint, and a quota caveat. The remaining gap is the return value (e.g., whether the created slug/id comes back) and any collision behavior, which an agent would benefit from knowing.

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 coverage is 100% and both parameters (name, api_key) are documented in the schema, including the slug derivation and the manage-vs-public key distinction. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb+resource ('Create a collection') and immediately grounds it with a concrete mental model ('a new resource (like a table)') plus the REST endpoint it produces at /api/collections/{slug}/records. This clearly separates it from sibling write tools like create_project or create_record.

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?

Gives a real usage rule: 'Use one per kind of thing the app stores (tasks, users, orders)', which tells the agent the intended granularity. It does not name alternatives (e.g., list_collections for reading back existing ones) or state when not to create a collection, so it falls short of explicit routing.

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