Skip to main content
Glama

create_directory_item

Create a new directory item.

Args: project_id: The project ID. collection_id: The collection ID. name: Item name. slug: URL-safe slug. fields: JSON object mapping field_id to value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
slugYes
fieldsNo{}
project_idYes
collection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false, and destructiveHint=false, giving the agent the safety profile. The description's 'Create a new directory item' merely restates this and adds nothing behavioral beyond annotations, such as slug uniqueness constraints, permission requirements, or whether 'fields' values must conform to defined directory fields.

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?

The purpose is front-loaded in a single sentence, followed by an Args list covering each parameter. It is appropriately sized, though the param descriptions add little beyond their titles, resulting in minor syntactic waste.

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?

With an output schema present, return values need not be described, and annotations cover the safety profile. Combined with per-parameter documentation, this is largely sufficient for a create tool, though it omits the relationship between items and their parent collection and doesn't note any required field/collection preconditions.

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 description coverage is 0%, so the description carries the full burden, and it does document all five parameters by name with brief meaning. 'fields: JSON object mapping field_id to value' is genuinely informative, though several entries ('The project ID', 'Item name') are thin restatements and the fields JSON format is left largely undefined.

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?

The description states a specific verb+resource combination ('Create a new directory item'), which an agent can distinguish from the sibling create_directory_collection and create_directory_field. However, it offers no differentiation from those near-neighbors or context on how an 'item' relates to its collection, so it is clear but not sibling-aware.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no mention of which siblings (e.g. update_directory_item, create_directory_field) cover adjacent tasks. The agent must infer usage entirely from the name.

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