Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CATALOG_DIRNoPath to a local checkout of the agent-patterns-catalog repository. Overrides the default catalog resolution.
MCP_CATALOG_REFRESHNoSet to '1' or 'true' to force a refresh of the cached catalog from GitHub on next run.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_patternA

Search patterns by id, name, alias, or intent. Returns top matches.

Ranks substring matches by where they hit (id > name > alias > intent), case-insensitive, with the most specific match first.

get_patternC

Return the full body of a pattern by id.

list_patternsA

List patterns, optionally filtered by category (e.g. 'tool-use-environment').

get_pattern_contextB

Reverse-index view of a pattern: who implements it (frameworks), who uses it (recipes, methodologies), and what anti-patterns oppose it.

examples_forA

Get code examples for a pattern, optionally filtered to one framework (e.g. 'langchain', 'dspy', 'claude-agent-sdk', 'pseudo').

pattern_for_symptomA

Given an observed symptom (e.g. 'agent loops forever', 'tool calls reference functions that do not exist'), return likely anti-patterns and the positive patterns that fix them.

Note: until structured symptoms fields land on anti-patterns (catalog task #3), this falls back to keyword search across each anti-pattern's name, intent, and problem text.

anti_patterns_inA

List anti-patterns. The catalog's anti-patterns category holds all of them; the optional category argument lets a caller pass a topical keyword (matched against name/intent) for narrowing.

get_recipeC

Return a recipe (abstract composition) by id.

get_frameworkB

Return a framework (concrete composition) by id.

list_frameworksA

List frameworks. Optional category filters by composition category (orchestration-framework, agent-sdk, coding-agent, voice-conversational, ...).

get_methodologyC

Return a methodology entry by id.

recommend_recipeA

Recommend recipes and frameworks for a use case + constraints.

Heuristic v1: maps use_case to a composition category (coding-agent, rag, voice-conversational, browser-computer-use, research-agent, agent-sdk, orchestration-framework, conversational-bot) and returns top recipes + a few frameworks. A proper facet-based recommender is catalog task #7.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/agentpatternscatalog/mcp'

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