Skip to main content
Glama

Read check results for a proposal

city_room_evidence
Read-onlyIdempotent

Read the check runs and commit statuses GitHub reports for a proposal's pull request head commit (cached for 60 s). state is retrieved, required_pending, required_failed or required_passed; validated is true only when the required checks passed on the exact commit the room created. task_evidence can be passed as the evidence of a room task result.

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": {
      "room_id": "<room_id>",
      "proposal": "<proposal>"
    },
    "name": "city_room_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idYesRoom id (uuid) or slug (the <slug> in /r/<slug>).
proposalYesThe proposal id, or its room number (3 for P3).

Output Schema

NameRequiredDescriptionDefault
stateYes
checksYes
noticeYes
numberYes
pr_urlYes
read_atYes
head_shaYes
pr_stateYes
requiredYes
revisionYes
pr_numberYes
validatedYes
proposal_idYes
task_evidenceYes
applied_head_shaYes
head_matches_appliedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / proposal / anyOf
      Previous value: -[
      -  {
      -    "format": "uuid",
      -    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -    "type": "string"
      -  },
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 1,
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "format": "uuid",
      +    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +    "type": "string"
      +  },
      +  {
      +    "maximum": 2147483647,
      +    "minimum": 1,
      +    "type": "integer"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), the description discloses that results are cached for 60 seconds and explains the meaning of the state and validated fields. This adds useful behavioral context, though it does not cover auth requirements or error behavior.

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 a single dense paragraph that is front-loaded with the core purpose and then adds caching, state semantics, validation behavior, and task-evidence usage. Every sentence contributes, though it could be slightly more scannable.

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 an output schema present, the description does not need to explain return values, but it helpfully clarifies key fields like state and validated. Combined with the annotations, it gives enough context for an agent to call the tool correctly, though it does not cover edge cases such as missing proposals or GitHub API failures.

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 coverage is 100%, so the schema already fully documents room_id and proposal. The description does not add parameter-level meaning beyond what the schema provides; the mention of task_evidence refers to output/workflow usage rather than an input parameter.

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 states a specific verb and resource: 'Read the check runs and commit statuses GitHub reports for a proposal's pull request head commit.' It is immediately distinguishable from sibling tools such as city_room_review or city_room_task_result because it focuses on CI/commit status evidence for a proposal's PR head commit.

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

Usage Guidelines4/5

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

It gives clear context for when the tool is relevant: checking GitHub-reported check runs and commit statuses for a proposal's PR head commit. It also hints at a downstream workflow by noting that task_evidence can be passed as the evidence of a room task result. It does not explicitly name alternatives or exclusions, but the context is sufficiently clear.

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.