Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SERPAPI_KEYNoSerpAPI API key.
BING_API_KEYNoBing search API key.
BRAVE_API_KEYNoBrave search API key.
WEBFETCH_MODENoSet to 'cloud' to use hosted API mode.local
FLICKR_API_KEYNoFlickr API key.
PEXELS_API_KEYNoPexels API key.
PIXABAY_API_KEYNoPixabay API key.
RAWPIXEL_API_KEYNoRawpixel API key (optional).
WEBFETCH_API_KEYNoAPI key for cloud mode (starts with wf_live_).
EUROPEANA_API_KEYNoEuropeana API key.
SPOTIFY_CLIENT_IDNoSpotify client ID.
SMITHSONIAN_API_KEYNoSmithsonian API key.
UNSPLASH_ACCESS_KEYNoUnsplash API access key.
BRIGHTDATA_API_TOKENNoBright Data API token.
SPOTIFY_CLIENT_SECRETNoSpotify client secret.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_imagesA

Federated image search across license-aware providers (Wikimedia Commons, Openverse, Unsplash, Pexels, Pixabay, iTunes, MusicBrainz CAA, Spotify, Brave). Returns concise ranked candidates with license + attribution. Does NOT auto-download — call download_image after. Default safe-only policy includes open, platform-license, editorial/press tags and rejects UNKNOWN. Use open-only for CC/public-domain only. For large batches, prefer CLI: webfetch batch --jsonl --continue-on-error.

search_artist_imagesA

Specialized image search for a musical artist. kind selects provider set + query expansion: 'portrait' (Wikimedia + Unsplash + Spotify), 'album' (MusicBrainz CAA + iTunes + Spotify), 'logo' (Wikimedia), 'performing' (Wikimedia + Pexels). Prefer this over search_images when building artist/band content.

search_album_coverA

Find canonical album artwork. Uses MusicBrainz Cover Art Archive + iTunes + Spotify. Results are EDITORIAL_LICENSED — safe for album identification UI per platform ToS; always show attribution.

download_imageA

Download an image URL (typically from a prior search_images result) to the local disk cache. Streams with a 20MB hard cap, content-type guard, SHA-256 hash, and returns the cached file path. Host blocklist enforced.

fetch_with_licenseA

Given an arbitrary URL (image or webpage), determine its license via host heuristics + page metadata (, dc.rights, og tags). Set probe: true to also download the bytes. Use when an agent already has a URL and needs a go/no-go decision before shipping.

find_similarA

Reverse-image-search: given a public image URL, find visually similar images. Requires SERPAPI_KEY env var and providers: ['serpapi']. Returns candidates with heuristic licenses — treat results as leads, not shippable.

probe_pageA

Given a webpage URL, return every on the page with inferred dimensions and a heuristic license per image. Respects robots.txt by default. Use to triage a candidate source page before picking.

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/ashlrai/webfetch'

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