Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoEnvironment mode (development/production)
DIRECTUS_URLYesYour Directus instance URL (e.g., http://localhost:8065)
DIRECTUS_TOKENYesStatic API token with appropriate permissions
DIRECTUS_RESOURCES_ENABLEDNoEnable resources feature (true/false)
DIRECTUS_PROMPTS_COLLECTIONNoCollection name for AI promptsai_prompts
DIRECTUS_RESOURCES_EXCLUDE_SYSTEMNoExclude system collections from resources (true/false)
DIRECTUS_PROMPTS_COLLECTION_ENABLEDNoEnable AI prompts collection (true/false)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_collectionsA

List all collections in the Directus instance

get_collection_schemaB

Get the schema for a specific collection

get_collection_itemsA

Get items from a collection with optional filtering and pagination

create_collectionA

Create a new collection with optional fields. Creates a real table with an auto-increment id when no fields are given; pass folder: true for a grouping element instead.

delete_collectionB

Delete a collection (requires confirmation)

create_itemB

Create a new item in a collection

update_itemA

Update an existing item in a collection. In versioned collections the published item is read-only — target a draft version instead.

delete_itemsA

Delete items from a collection, either by explicit IDs or by a query. Providing neither deletes nothing.

create_fieldB

Create a new field in a collection

update_fieldB

Update an existing field in a collection

delete_fieldA

Delete a field from a collection (requires confirmation)

bulk_operationsB

Execute bulk create, update, and delete operations

analyze_collection_schemaB

Analyze collection schema with relationship mapping and validation

analyze_relationshipsC

Analyze relationships across collections

create_relationshipC

Create relationships between collections (O2O, O2M, M2O, M2M, M2A)

validate_collection_schemaC

Validate collection schema and relationships

diagnose_collection_accessB

Diagnose collection access issues and permissions

refresh_collection_cacheA

Refresh Directus collection cache and verify access

validate_collection_creationA

Validate that a newly created collection is properly accessible

get_usersA

Get all users with optional filtering and pagination

get_userA

Get a specific user by ID

get_filesB

Get files with optional filtering and pagination

get_flowsB

Get flows with optional filtering and pagination

get_flowA

Get a specific flow by ID with optional operations

create_flowB

Create a new automation flow

update_flowC

Update an existing flow

delete_flowA

Delete a flow and all its operations (requires confirmation)

trigger_flowC

Manually trigger a flow execution

get_operationsC

Get flow operations with optional filtering by flow

get_schema_snapshotA

Read a snapshot of the data model (collections, fields, relations). Pass include_collections or exclude_collections for a partial snapshot.

diff_schemaA

Compare a schema snapshot against the current data model and report what applying it would change. Read-only — nothing is modified.

apply_schemaA

Apply a schema diff produced by diff_schema. Changes the live data model and can drop collections and fields.

import_dataA

Import rows from a CSV or JSON file into one collection, or into several related collections at once using a flat multi-collection file. Subject to the Directus IMPORT_MAX_FILE_SIZE limit (50mb by default).

Single-collection: pass collection; the file is a plain array of rows. Batch (Directus 12.2+): omit collection; the file MUST be a JSON array of { "collection": string, "items": object[] } entries, e.g. [{"collection":"authors","items":[{"name":"Ann"}]},{"collection":"articles","items":[{"title":"Hi","author":1}]}]

search_toolsA

Find the tools on this server that match a task description, and return their full definitions so they can be called directly. Use this first when unsure which tool to use.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/staminna/mcp-server-claude'

If you have feedback or need assistance with the MCP directory API, please join our Discord server