Skip to main content
Glama

gh_messages

Retrieve runtime errors and warnings for every object without resolving them, so you can inspect issues before fixing or rebuilding.

Instructions

Runtime errors and warnings of every object, without solving.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: it is a non-solving read, i.e. it does not mutate the document or trigger recomputation. It does not explain message lifetime (are they cleared on read?), ordering, or whether messages exist before a solve, which leaves meaningful behavioral gaps for a diagnostic tool.

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?

A single front-loaded sentence with no filler; the scope and the non-solving constraint are both packed in. It is arguably too compressed, since 'of every object' could be read as per-object invocation rather than a whole-document dump.

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?

For a zero-parameter read with no output schema and no annotations, the core contract is conveyed, but the agent still does not know the shape of the returned messages (per-object grouping, counts, severity labels) or whether it needs a preceding gh_solve to be meaningful. Given the absence of annotations and output schema, a little more detail would have been warranted.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly implies no input is needed to scope the query.

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?

Names a concrete resource — runtime errors and warnings — and the scope 'of every object', so an agent knows it is a whole-document diagnostic read rather than a per-component query. The trailing 'without solving' distinguishes it from the solve-oriented sibling gh_solve, though the phrasing is terse and slightly awkward.

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?

'Without solving' implicitly tells the agent to use this when it wants diagnostics without triggering recomputation, which is a real usage signal. However, there is no explicit statement of when to prefer this over gh_status or gh_solve, and no mention of the prerequisite that a prior solve is usually what generates these messages.

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