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

TableJSON 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

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses a hard quota ('Free projects allow 3') and the endpoint shape the new resource will expose, but says nothing about post-creation state, whether collections can be deleted/renamed, or rate limits. The auth nuance lives only in the schema, not the description.

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 tight sentences, front-loaded with the core action, then the resource definition, then the quota constraint. No filler and nothing redundant.

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 two-parameter create tool with no output schema, the definition covers purpose, granularity guidance, the resulting endpoint, and quota limits. Missing only lifecycle details (what happens to the collection afterward, deletion behavior) and an explicit pointer to the sibling create_project that mints the required manage key.

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 both parameters (name, api_key) are already well documented in the schema, including slug derivation and the manage-vs-public key distinction. The description adds the endpoint path containing {slug} but does not itself explain parameter formats, so baseline 3 applies.

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+resource ('Create a collection') and goes further by defining what a collection is (a table-like resource exposed at /api/collections/{slug}/records). It implicitly separates collections from records/projects via the 'one per kind of thing' framing, but never names a sibling tool to contrast with, so it stops short of a 5.

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 concrete guidance on when to create one ('one per kind of thing the app stores (tasks, users, orders)'), which tells the agent the right granularity and implicitly warns against duplicating collections. No explicit alternatives (create_project, create_record) or when-not-to-create exclusion is stated.

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