Skip to main content
Glama

stackexchange-mcp-server

List Stack Exchange Sites

stackexchange_list_sites
Read-onlyIdempotent

Enumerate all sites in the Stack Exchange network — name, api_site_parameter, audience, and URL. The api_site_parameter value is what other tools accept as the site input (e.g. "stackoverflow", "superuser", "serverfault"). Results are fetched live and optionally filtered by name. Use this tool to discover valid site parameters before calling other stackexchange_* tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoOptional case-insensitive name filter — returns only sites whose name contains all provided tokens. Omit to return all sites.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
sitesNoStack Exchange network sites matching the optional name filter.
noticeNoActionable guidance when results are empty or filtered.
quotaMaxNoMaximum API quota calls per day (300 keyless, ~10,000 with API key).
totalCountNoTotal number of sites returned after filtering.
quotaRemainingNoRemaining API quota calls for the current day.

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover readOnlyHint and idempotentHint, so the description takes advantage of the lower bar by adding specific behavioral context such as 'Results are fetched live' and the fact that the output includes `api_site_parameter` values for validation. This goes beyond the structured annotations and clarifies dynamic, network-dependent behavior without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is remarkably efficient, with three sentences that front-load purpose, then details of the output, and finally usage guidance. No sentence is wasted; the structure flows logically from what the tool does to how to use it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists and there's only one optional parameter, the description is fully sufficient. It explains the returned fields, the overall purpose, and the relationship to sibling tools, leaving no ambiguities about why or when this tool should be invoked.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides a thorough description of the only parameter `filter`, with details about case insensitivity and token matching. The main description adds only high-level confirmation that results are 'optionally filtered by name,' which does not meaningfully deepen the schema's already explicit semantics—deserving the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb 'Enumerate' and precise resource: all Stack Exchange network sites, listing their fields. Explicitly ties the tool's output (api_site_parameter) to what sibling tools accept as the `site` input, clearly distinguishing this discovery/listing tool from the other stackexchange_* tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs 'Use this tool to discover valid site parameters before calling other stackexchange_* tools,' establishing when to use it and why. It also conditions the optional filter behavior ('optionally filtered by name'), which helps the agent decide when to omit or provide the parameter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: site discovery, tag-based FAQ retrieval, free-text search, full thread retrieval, and user profile lookup. The descriptions explicitly cross-reference when to use which, eliminating ambiguity.

Naming Consistency5/5

All tools share the stackexchange_ prefix and follow a consistent verb_noun pattern (get_, list_, search_). The naming style is uniform and predictable.

Tool Count5/5

Five tools is well-scoped for a read-only Stack Exchange client. Each tool covers a distinct, necessary operation without redundancy or bloat.

Completeness5/5

The tool surface covers the full read-only workflow: discover sites, search questions, retrieve tag FAQs, fetch full threads with answers, and inspect user profiles. No significant gaps remain for the intended domain.