Skip to main content
Glama

BYOKG

Room health report

check_room
Read-onlyIdempotent

Read a Meaning-Space's health report when the user asks what is missing, duplicated or unsupported in a room. Input: namespace_id (optional), check_id with cursor to page one check's sample, as_of for the assessments. Returns read-only checks over the stored data, each with a severity, an exact count, a sample of at most 20 findings, a breakdown and a constant message, and attention, where evidence is thin, which proposes attention, not importance or truth. Nothing is repaired: report findings as facts about the data and propose each repair (curate_relation, a corrected bundle, a usage-notes edit) as its own step for the user. complete is false until the stored report exists, and stale is true once a write moved the revision past report_revision. Deterministic, no model call, nothing stored; without the MCP token it reads the public rooms. Pass a check's next_cursor as cursor with check_id to page on its sample; the other samples start from their first page. A cursor belongs to one check_id and as_of: INVALID_CURSOR for another check, request or room, GRAPH_GENERATION_CHANGED once the room's generation changed. as_of is the day (YYYY-MM-DD, UTC) the curated assessments are computed for, today by default. Graph checks (ISOLATED_NODE by reason, STATED_COUNT_MISMATCH, DUPLICATE_NAME, DUPLICATE_EDGE, SELF_LOOP, RELATION_TYPE_VARIANT, EDGE_WITHOUT_SOURCE, SOURCE_UNCITED) come from the report a CHECK_ROOM job stored for the active generation: every import queues one, and the owner recomputes with POST /v1/namespaces/{namespace_id}/health/checks. CURATED_TARGET_MISSING, CURATED_QUOTE_NOT_FOUND, CURATED_ASSESSMENT (for as_of), MEMORY_UNGROUNDED and ROOM_CARD_INCOMPLETE are computed at read time. attention lists nodes whose stated counts exceed their stored edges most and PROVISIONAL and UNSUPPORTED curated relations. Example: {"namespace_id": "obo-go", "check_id": "ISOLATED_NODE"}. Added in contract revision 4.4.0. Since contract revision 4.8.0 OBSOLETE_WITHOUT_SUCCESSOR lists obsolete nodes without a REPLACED_BY or CONSIDER edge whose name an active node of the room shares, with both ids. Since contract revision 4.8.1 each DUPLICATE_NAME finding carries id_case (SAME_EXTERNAL_ID, MISSING_EXTERNAL_ID or DISTINCT_EXTERNAL_IDS, from the external ids of every node of the group), and the check a by_case breakdown with every case. Each SELF_LOOP finding carries loop_case (SOURCE_STATED, ENDS_RESOLVED_TO_ONE_NODE or NOT_RECORDED, from the edge's stored record), and the check a by_case breakdown with every case. Since contract revision 4.9.0 a DUPLICATE_NAME finding lists every node of its group in detail.node_id_list (the finding's own id first, up to 50, node_ids_truncated when cut; the comma-separated node_ids string stays as a deprecated alias) and a DUPLICATE_EDGE finding every copy in edge_id_list; count is how many findings exist, sampled how many of them the pages reach in all (1000 for a stored check with more), sample this page's at most 20. The contract revision in force is the one every response repeats in _meta.contract_revision and server_info reports; a revision note (Added in, Since) says when a field or a tool appeared, never which revision is current.

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": "check_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoDay (YYYY-MM-DD, UTC) of the curated assessments; today by default.
cursorNonext_cursor of that check in the previous page of the same request.
check_idNoThe one check whose sample cursor pages.
namespace_idNoRoom name; omitted: the default room.

Output Schema

NameRequiredDescriptionDefault
as_ofYes
staleYes
checksYes
summaryYes
completeYes
revisionYes
attentionYesAdded in contract revision 4.4.0. Where evidence is thin: the nodes whose stated counts exceed their stored edges most (a compared count above its edges, or any stated count of a node without edges), then the curated relations assessed UNSUPPORTED or PROVISIONAL; at most 20. It proposes attention, not importance or truth.
generationYes
computed_atYes
namespace_idYes
report_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, non-destructive, and closed-world, but the description adds substantial behavior: deterministic/no model call, nothing stored, token/public-room behavior, complete/stale semantics, stored-job versus read-time checks, cursor error behavior, and a no-repair policy. These details are consistent with the annotations and go well beyond them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and structured, but it is heavily overlong for tool selection and invocation. Revision-by-revision notes (4.8.0, 4.8.1, 4.9.0), deprecated alias details, and contract-revision meta add changelog-style bulk beyond what an agent needs to call the tool correctly.

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

Completeness5/5

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

For a complex 14-check health-report tool, the description covers purpose, usage, return semantics, paging, error conditions, authorization behavior, and the distinction between stored graph checks and read-time curated checks. Even with an output schema present, it supplies enough context for correct invocation.

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

Parameters5/5

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

Schema coverage is 100%, but the description still adds meaningful semantics: as_of defaults to today, cursor is bound to one check_id and as_of with INVALID_CURSOR and GRAPH_GENERATION_CHANGED errors, check_id controls which sample is paged, and namespace_id omitted means the default room. This is more than restating the schema.

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?

States a specific verb and resource: read a Meaning-Space health report for questions about what is missing, duplicated, or unsupported in a room. The purpose is clear, but it does not explicitly name a sibling such as find_gaps, so sibling differentiation is implied rather than stated.

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?

Gives a clear when-to-use condition: when the user asks what is missing, duplicated, or unsupported in a room. It also instructs the agent to propose repairs as separate steps, but it does not state when to prefer an alternative or when not to use this tool.

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