Skip to main content
Glama
midodimori

stack-overflow-mcp-light

by midodimori

fetch_question_answers

Fetch a specific Stack Overflow question and its answers, with options to sort by votes, activity, or creation and control the number of results.

Instructions

Fetch specific Stack Overflow question with its answers.

Args: request: Question details request with ID and answer sorting options

Returns: Question item with detailed information including answers sorted by the specified criteria with body content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
linkNoLink to the question
scoreNoQuestion score
titleNoQuestion title
answersNoList of answers for the question
is_answeredNoWhether the question has answers
question_idNoQuestion ID
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It discloses that answers are sorted and include body content, but does not mention pagination, rate limits, authentication, or potential errors. For a read-only fetch tool, this is moderate but not comprehensive.

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

Conciseness4/5

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

The description is concise and structured with Args/Returns sections. It contains no fluff, though it could be slightly more efficient. It earns a high score for clarity and brevity.

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

Completeness4/5

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

The description explains the tool's return value (question with sorted answers and body content), which is sufficient given the presence of an output schema. It does not mention edge cases or limitations, but for a simple fetch tool it covers the essential context.

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

Parameters2/5

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

The description only vaguely mentions 'request' with ID and answer sorting options, adding little beyond the input schema which already provides detailed descriptions for question_id, sort, order, and page_size. With 0% schema description coverage, the description should compensate but does not.

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?

The description clearly states the tool fetches a specific Stack Overflow question with its answers, using a specific verb and resource. This distinguishes it from sibling search tools, which focus on finding questions rather than retrieving a particular question.

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

Usage Guidelines3/5

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

The description implies usage when you have a specific question ID and want answers, but does not explicitly mention the search siblings or state when not to use this tool. No exclusions or alternatives are provided, so guidance is only implicit.

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

Install Server

Other Tools

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/midodimori/stack-overflow-mcp-light'

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