Skip to main content
Glama

Create entry

create_entry
Destructive

Create a new entry in a collection. Content is VALIDATED against the collection's field schema (call get_collection first to see field names, types, and which fields are lists). Invalid shapes are rejected with warnings. Value shapes match save_entry_content: list: true fields take arrays; reference fields take entry ID strings (an array of IDs when list: true); date fields take YYYY-MM-DD, or an ISO timestamp with a numeric UTC offset when the field's config.time is true. The entry's name and slug are the top-level arguments, never content: keys for the built-in name and slug fields are refused. A retry makes a second entry: if the answer was lost, look for the slug with list_entries before trying again.

Input Schema

NameRequiredDescriptionDefault
nameYesEntry name
slugNoURL slug for the entry (lowercase letters, numbers and hyphens). Derived from the name when omitted; a taken slug gets a suffix. Pass it explicitly when the collection still uses a legacy text field named slug, so the copy in content matches.
contentNoEntry content as key-value pairs matching the collection schema
projectIdYesThe project ID
collectionIdYesThe collection ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description adds real behavioral context beyond that: content is validated against the collection schema with warnings on rejection, built-in name/slug keys in content are refused, and a retry creates a second entry (non-idempotent). That non-idempotency warning is exactly the kind of risk detail annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and every sentence carries payload (validation, value shapes, name/slug exclusion, retry hazard). It is dense and slightly cramped into a single block, but no sentence is filler.

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 5-param mutation tool with no output schema, the definition covers validation behavior, slug derivation (via schema), and duplicate-creation hazard well. The one gap is that it never says what a successful call returns (e.g., the new entry ID), which an agent would need for follow-up calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds substantial semantics the schema lacks: 'content' is documented only as free-form key-value pairs, and the description specifies value shapes (arrays for list:true, entry ID strings for references, YYYY-MM-DD or offset-timestamp for dates) and that name/slug live at top level. Minor deduction only because the reference/date rules depend on external 'config.time' context.

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 and resource ('Create a new entry in a collection') and implicitly separates itself from update_entry and save_entry_content by emphasizing 'new'. An agent can identify the operation and its scope immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing ('call get_collection first') and an explicit recovery path ('look for the slug with list_entries before trying again'), plus a clear exclusion ('keys for the built-in name and slug fields are refused'). This is when-to-use guidance an agent can act on without inference.

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.