Skip to main content
Glama
by elad12390

search_examples

Find code examples, tutorials, and technical articles to learn APIs, discover usage patterns, and solve programming problems with filtered content types and time ranges.

Instructions

Search for code examples, tutorials, and technical articles. Optimized for finding practical examples and learning resources. Can optionally filter by time range for the most recent content. Perfect for learning new APIs, finding usage patterns, or discovering how others solve specific technical problems. Content Types: - 'code': GitHub repos, code snippets, gists, Stack Overflow code examples - 'articles': Blog posts, tutorials, documentation, technical articles - 'both': Mix of code and written content (default) Time Ranges: - 'all': Search all available content (default, recommended for best results) - 'year', 'month', 'week', 'day': Filter to recent content only Examples: - search_examples("FastAPI dependency injection examples", content_type="code") - search_examples("React hooks tutorial", content_type="articles", time_range="year") - search_examples("Rust lifetime examples", content_type="both")

Input Schema

NameRequiredDescriptionDefault
queryYes
reasoningYes
content_typeNoboth
time_rangeNoall
max_resultsNo

Input Schema (JSON Schema)

{ "properties": { "content_type": { "default": "both", "enum": [ "code", "articles", "both" ], "title": "Content Type", "type": "string" }, "max_results": { "default": 8, "title": "Max Results", "type": "integer" }, "query": { "title": "Query", "type": "string" }, "reasoning": { "title": "Reasoning", "type": "string" }, "time_range": { "default": "all", "enum": [ "day", "week", "month", "year", "all" ], "title": "Time Range", "type": "string" } }, "required": [ "query", "reasoning" ], "type": "object" }

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/elad12390/web-research-assistant'

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