getMonsters
Retrieve a list of monsters with optional filters, sorting, and pagination for efficient data access on the RAGmonsters PostgreSQL MCP server.
Instructions
Get a list of monsters with optional filtering, sorting, and pagination
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filters | No | Optional filters for the query | |
limit | No | Maximum number of results to return (default: 10) | |
offset | No | Number of results to skip for pagination (default: 0) | |
sort | No | Optional sorting parameters |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filters": {
"additionalProperties": false,
"description": "Optional filters for the query",
"properties": {
"category": {
"description": "Filter by monster category",
"type": "string"
},
"habitat": {
"description": "Filter by monster habitat",
"type": "string"
},
"rarity": {
"description": "Filter by monster rarity",
"type": "string"
}
},
"type": "object"
},
"limit": {
"description": "Maximum number of results to return (default: 10)",
"type": "number"
},
"offset": {
"description": "Number of results to skip for pagination (default: 0)",
"type": "number"
},
"sort": {
"additionalProperties": false,
"description": "Optional sorting parameters",
"properties": {
"direction": {
"description": "Sort direction (asc or desc)",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"field": {
"description": "Field to sort by (name, category, habitat, rarity)",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}