Skip to main content
Glama

Create a list

castle_create_list
Destructive

Create a new allow or deny list. primary_field is the event field its entries match on, e.g. ip or user.email. Castle: POST /v1/lists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe list name.
colorYesDashboard colour label, e.g. $red, $green, $blue — Castle requires one.
descriptionNoWhat this list is for.
primary_fieldYesThe event field entries match on, e.g. ip or user.email.
secondary_fieldNoAn optional second field entries also carry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the write/mutation profile is partly covered, though the description never mentions the destructive/irreversible nature of creating a list itself. It does add useful context about what a list is (allow/deny, entries matched on a primary field) and the underlying endpoint POST /v1/lists, but says nothing about duplicate-name handling, limits, or what is returned.

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?

Three short, front-loaded sentences with no filler; the core purpose leads. The middle sentence largely duplicates the schema description of primary_field, which is mild redundancy, and the endpoint clause is arguably the least useful part.

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?

For a 5-parameter creation tool with no output schema, the description covers purpose and one key field but omits what a caller gets back (e.g. the list ID needed for subsequent castle_create_list_item calls) and any error/duplicate behavior. Adequate but with clear gaps for an agent chaining create-then-populate workflows.

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?

Schema description coverage is 100%, so the schema already documents all five parameters, including primary_field verbatim. The description's primary_field sentence is essentially a restatement of the schema text, and it adds nothing about color, name, description, or secondary_field. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Create a new allow or deny list') and even narrows the list types, so an agent can tell it apart from castle_update_list, castle_get_list, and castle_create_list_item. It stops short of explicitly naming those siblings, so it is clear but not maximally differentiated.

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 when-to-use guidance and no routing away from alternatives: nothing says when to create a new list versus adding an item with castle_create_list_item, updating with castle_update_list, or searching with castle_search_lists. Usage is only implied by the verb 'Create'.

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.