Skip to main content
Glama

get_github_discussion

Read-onlyIdempotent

Get the full body and comments of a single GitHub Discussion from a Canton Network or Digital Asset repo, by its GitHub GraphQL node id (from list_github_discussions). CANTON-ONLY, read from CCPEDIA's cache. Not the live GitHub API. This is GitHub Discussions, distinct from the Canton web forum (get_discussion) and mailing lists (get_mailing_thread).

Input Schema

NameRequiredDescriptionDefault
idYesGitHub GraphQL node ID, e.g. "D_kwDOMNgu5s4AY..."

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, destructiveHint=false, so the safety profile is covered. The description adds genuinely non-redundant behavior: results come from CCPEDIA's cache rather than the live GitHub API, and coverage is restricted to Canton Network/Digital Asset repos. It does not mention cache staleness or comment pagination limits, which keeps it below a 5.

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?

Three sentences, front-loaded with the action and resource, then scope, then disambiguation. Every clause carries distinct information (source of id, cache vs live, sibling routing) with no repetition of the schema or annotations.

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?

There is no output schema, so the description correctly takes on the return contract by stating it returns the full body and comments. Combined with the cache-vs-live note and Canton-only scope, an agent has what it needs to call it; the only unaddressed item is whether long comment threads are truncated or paginated.

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 description coverage is 100% and the single parameter is documented with a concrete node-id example, so the schema carries the syntax burden. The description still adds provenance the schema lacks: the id is a GitHub GraphQL node id obtained from list_github_discussions, which tells the agent not to invent or reuse an internal discussion id.

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+resource ('Get the full body and comments of a single GitHub Discussion') plus the scope (Canton Network or Digital Asset repos, by GraphQL node id). It explicitly distinguishes itself from the two nearest siblings, get_discussion (Canton web forum) and get_mailing_thread, so an agent can disambiguate without opening any schema.

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?

Tells the agent where the required id comes from ('from list_github_discussions') and which tools are the wrong choice for this data ('distinct from the Canton web forum (get_discussion) and mailing lists (get_mailing_thread)'). The 'CANTON-ONLY, read from CCPEDIA's cache. Not the live GitHub API' clause gives the condition under which this source is appropriate.

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.