Skip to main content
Glama

Castle MCP by usefulapi

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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. 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, and the description adds the meaningful detail that the list can be allow or deny and references the underlying POST /v1/lists endpoint. It does not explain what allow vs deny changes downstream, nor that creating a list is purely additive despite the destructive hint — a mildly confusing signal left unaddressed.

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 sentences, front-loaded with the action and the key semantic field. The trailing 'Castle: POST /v1/lists' is low-value endpoint trivia but costs little.

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?

For a five-parameter creation tool with full schema coverage and no output schema, the description covers the essentials. It does not state what is returned (e.g., the new list ID) or whether the primary_field is immutable after creation, both of which an agent might need.

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 all five parameters including name, color, and secondary_field are already documented. The description's explanation of primary_field ('the event field its entries match on') duplicates the schema text rather than adding syntax, allowed values, or examples.

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 clarifies that primary_field is the matching event field, which goes beyond the title. It never names or differentiates itself from siblings such as castle_create_list_item or castle_update_list, so the distinction rests on the tool name alone.

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, no prerequisites, and no mention of alternatives like castle_update_list (for existing lists) or castle_create_list_item (for entries). The agent must infer from the name that this is the creation path.

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.