Skip to main content
Glama
mahdin75

GeoServer MCP Server

create_layer

Add a new layer to GeoServer by specifying workspace, layer name, data store, and source. Integrates with AI assistants for geospatial data management via natural language commands.

Instructions

Create a new layer in GeoServer.

Args:
    workspace: The workspace for the new layer
    layer: The name of the layer to create
    data_store: The data store to use
    source: The source data (file, table name, etc.)

Returns:
    Dict with status and layer information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_storeYes
layerYes
sourceYes
workspaceYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Create' implies a write operation, it doesn't address permission requirements, whether the operation is idempotent, what happens if a layer already exists, rate limits, or error conditions. The return format is mentioned but lacks detail about what 'status and layer information' includes.

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 well-structured with clear sections (Args, Returns) and uses minimal sentences. Each sentence serves a purpose, though the parameter explanations could be more informative. The front-loaded purpose statement is effective.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation with 4 required parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what constitutes valid inputs, error handling, or the structure of returned information. The context signals indicate this is a complex tool that needs more comprehensive documentation.

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?

The description lists all four parameters with brief explanations, but the schema has 0% description coverage. The parameter explanations ('The workspace for the new layer', 'The name of the layer to create', etc.) add basic semantic context beyond just parameter names, though they don't provide format requirements, examples, or constraints.

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 verb ('Create') and resource ('new layer in GeoServer'), making the purpose immediately understandable. However, it doesn't differentiate this tool from potential sibling alternatives like 'create_workspace' or 'create_style' beyond the resource type.

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_workspace' or 'list_layers'. There's no mention of prerequisites, dependencies, or typical scenarios where layer creation is appropriate versus other operations.

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/mahdin75/geoserver-mcp'

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