Skip to main content
Glama

Create a record

create_record

Save a record (a JSON object) in a collection so it persists. Pass the fields as data; the API returns it with an id.

Input Schema

NameRequiredDescriptionDefault
dataYesRecord fields, e.g. {"title": "Write tests", "done": false}
api_keyYesProject manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only.
collectionYesCollection slug, e.g. "products"

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 write/idempotency profile is covered. The description adds a useful behavioral fact: the created object is returned with an id. It does not address duplicate handling, permission requirements, or failure modes, so it adds modest value beyond structured data.

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, front-loaded with the persistence semantics and immediately followed by the argument and return behavior. No filler or redundancy.

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?

There is no output schema, and the description partially compensates by stating that the record is returned with an id. However, for a non-idempotent write tool with a nested data object, nothing is said about duplicate creation, validation errors, or required key type at call time.

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%, with each of data, api_key, and collection documented in the schema, so the baseline is 3. The description's 'Pass the fields as data' only restates the data parameter without adding syntax, constraints, or edge-case guidance.

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: save a record (JSON object) in a collection so it persists. That distinguishes it from create_collection/create_project by name and scope. It stops short of explicitly contrasting with update_record or delete_record, so it is clear but not sibling-differentiated.

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?

No when-to-use guidance, no when-not-to-use, and no mention of the alternative update_record for existing records. The description never states prerequisites such as needing a manage key, even though the schema does.

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