Skip to main content
Glama

Groundsocial

Answers to a Stack Overflow question

stackoverflow_question_answers
Read-onlyIdempotent

Answers to a Stack Overflow question, by votes, activity or date.

The answers to a question with their HTML bodies, is_accepted and score. sort is votes (default), activity or creation, highest or newest first; page 1-25, limit up to 100. since/until filter by creation date. A question with no answers (or none) gives an empty page.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "stackoverflow_question_answers"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA question id or its stackoverflow.com link.
pageNoPage number, 1 to 25. Defaults to 1.
sortNo
limitNoRows per page, 1 to 100. Defaults to 30.
sinceNoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp.
untilNoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive behavior, yet the description still adds real value: cost of 1 credit per call, automatic refund on failure, and the presence of cost_credits and credits_remaining in results. It also discloses the empty-result case, which annotations cannot express.

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?

Two tight paragraphs, front-loaded with purpose and followed by mechanics and cost. A few clauses (page 1-25, limit up to 100) duplicate the schema, which is minor waste but keeps the definition self-contained.

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?

With no output schema, the description steps in to name the returned fields, and it covers cost and failure handling for a metered API. For a six-parameter read tool this is close to complete; only explicit sibling routing is missing.

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

Parameters4/5

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

Schema coverage is 83%, so the baseline is 3, and the description earns above that by explaining that sort=votes/activity/creation means highest or newest first, a direction semantic the enum alone does not convey. It also restates page and limit bounds and clarifies that since/until filter on creation date.

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

Purpose4/5

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

The description names the specific resource (answers to a Stack Overflow question) and the ordering options, and it enumerates the returned fields (HTML bodies, is_accepted, score). It is clearly distinct from stackoverflow_question_comments and stackoverflow_question_get by resource, though it never explicitly contrasts itself with them.

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?

Usage context is implied by the resource name and the sort/filter options, but there is no explicit when-to-use guidance or named alternative for retrieving question details versus answers. The note that a question with no answers yields an empty page is a useful edge-case hint but not routing guidance.

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.