Skip to main content
Glama

create_field_plugin

Create custom field plugins (field types) in Storyblok by specifying a unique name, JavaScript source, and context (space, org, or partner) for seamless integration.

Instructions

    Creates a new field plugin (field type) in the specified context.

    Args:
        name (str): Unique name for your plugin (e.g., 'my-geo-selector').
        body (str): The uncompiled JavaScript source for the plugin.
        compiled_body (str): Required; empty string if developing locally.
        context (str): 'space', 'org', or 'partner'.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
compiled_bodyNo
contextNospace
nameYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions that 'compiled_body' is 'Required; empty string if developing locally', which hints at development workflows, but lacks critical details like permissions needed, whether the creation is irreversible, rate limits, or what happens on success/failure. For a creation tool with zero annotation coverage, this is insufficient.

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 description is appropriately sized and front-loaded, starting with the main purpose. The parameter explanations are concise and informative, though the formatting with 'Args:' could be slightly more integrated. Every sentence adds value without 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?

Given the tool's complexity (creation operation with 4 parameters), no annotations, and no output schema, the description is partially complete. It covers parameter semantics well but lacks behavioral context like error handling, return values, or system constraints. It's adequate as a baseline but has clear gaps for safe and effective use.

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

Parameters5/5

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

The description adds significant meaning beyond the input schema, which has 0% description coverage. It explains each parameter's purpose: 'name' as a unique identifier with an example, 'body' as JavaScript source, 'compiled_body' as required with a development note, and 'context' with allowed values. This fully compensates for the schema's lack of descriptions.

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 clearly states the action ('Creates') and resource ('a new field plugin (field type)'), making the purpose evident. However, it doesn't differentiate from sibling tools like 'create_extension' or 'create_component', which might create similar types of resources in the same system.

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?

The description provides no guidance on when to use this tool versus alternatives like 'create_extension' or 'update_field_plugin', nor does it mention prerequisites or typical use cases. It only states the context parameter options without explaining their implications.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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/Kiran1689/storyblok-mcp-server'

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