Skip to main content
Glama

Search GitHub discussions

github_search_discussions
Read-onlyIdempotent

Search GitHub discussions. Read-only: returns public data and changes nothing. Costs 1 credit per request.

Input Schema

NameRequiredDescriptionDefault
countYesNumber of results to return (1–10). Defaults to 10.
orderYesSort direction. Defaults to "desc".desc
queryNoFree-text search terms, matched against the default fields for this search type, e.g. "web framework".
reposNoLimit to these "owner/name" repositories. Maps to `repo:`.
authorNoOpened by this user. Maps to `author:`.
cursorNoThe previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
ownersNoLimit to these owners (users or orgs). Maps to `user:`.
createdNoFilter by creation date. Provide any of gt / gte / lt / lte as YYYY-MM-DD dates; combine a lower and upper bound for a range.
updatedNoFilter by last update date. Provide any of gt / gte / lt / lte as YYYY-MM-DD dates; combine a lower and upper bound for a range.
answeredNoWhether the discussion is answered. Maps to `is:answered`.
commentsNoFilter by comment count. Provide any of gt / gte / lt / lte; combine a lower and upper bound for a range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so 'read-only: returns public data and changes nothing' largely restates structured data. The one genuinely additive fact is 'Costs 1 credit per request', a real budget constraint absent from annotations, but nothing is said about result caps, pagination behavior, or what a discussion record contains.

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?

Three short sentences with the purpose front-loaded and no filler. The second sentence is close to redundant with the readOnly annotation, but the text is otherwise tight and scannable.

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

Completeness3/5

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

With 11 parameters, nested date/comment range objects, and no output schema, the description is thin: it never explains that results are paginated via nextCursor, that count is capped at 10, or what fields a discussion returns. Annotations and full schema coverage carry most of the burden, making this adequate but not complete.

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?

Schema description coverage is 100% and all 11 parameters are documented in-schema, including the GitHub-qualifier mappings (repo:, author:, is:answered) and cursor pagination. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies.

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 states a specific verb and resource ('Search GitHub discussions'), so an agent knows exactly what it queries. However, it never distinguishes this from the many sibling search tools (github_search_issues, github_search_pull_requests, github_search_code), leaving the agent to infer that discussions are a distinct content type rather than issues or PRs.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no named alternative. The description does not say to prefer this over github_search_issues when looking for Q&A-style threads, nor does it state any precondition (auth, scope, rate budget) beyond the credit cost.

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.

Resources