GnistAI GnistAI
Log in

Random Words

Random English word generator — 120 curated words across 4 types (noun, verb, adjective, adverb) with length filtering.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Reference

Data source: In-memory curated collection

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/random-words/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-random-words": {
      "url": "https://context.gnist.ai/mcp/random-words/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/random-words/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_words", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/random-words/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/random-words/search_words?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/random-words/search_words",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc random-words

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

get_random_word
Get a random English word.
ParameterTypeRequiredDescription
word_typeanyoptionalFilter by word type (noun, verb, adjective, adverb). Omit for any type.
min_lengthanyoptionalMinimum word length (inclusive).
max_lengthanyoptionalMaximum word length (inclusive).
get_random_words
Get multiple random English words at once.
ParameterTypeRequiredDescription
countanyoptionalNumber of random words to return (default: 5, max: 50).
word_typeanyoptionalFilter by word type (noun, verb, adjective, adverb). Omit for any type.
search_words
Search for words by substring.
ParameterTypeRequiredDescription
querystringrequiredSearch substring — matches word text or word type.
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
list_word_types
List all available word types.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related