Skip to main content
Glama

Who has a report open, and what they picked

read_report_presence
Read-only

Who has a version of a report open right now and where each of them is in it, as the people reading it see one another: for each open tab, the name, whether it is the person you work for (you), when it arrived and last moved, and what it shares in signals: cursor (where the pointer is: a block of the report, numbered from 0, and a point in it as fractions), selection (text selected: a block and character offsets), and part (the part of a design canvas they picked, selected while editing or chosen to comment on, named in words with its block and its id in the canvas, as { "block": 1, "element": "go-next", "label": "sticky \"Next step\"" }); an interactive page may add its own (page, rooms). A tab that shares nothing has empty signals. Read it when someone says "this" or "the selected one" about a report, then read_report_data or the report itself for the part. The same person in two tabs is two entries. Leave version out for the newest version the person may read; people reading an older version are only in that version.

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": {
      "report_id": "<report_id>"
    },
    "name": "read_report_presence"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoThe version whose readers to list (list_report_versions gives numbers). Leave it out for the newest.
report_idYesThe report (list_reports gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description goes well beyond them: per-tab granularity ('The same person in two tabs is two entries'), the empty-signals case, and per-version visibility rules ('people reading an older version are only in that version'). These are non-obvious behaviors an agent could not infer from schema or annotations.

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?

Nearly all content is useful, but it is delivered as one sprawling multi-clause sentence studded with semicolons, a nested parenthetical definition, and an embedded JSON example. Front-loading is good and the closing routing sentences are clean, but the structure makes it hard to parse on a fast scan.

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?

No output schema exists, so the description carries the full burden of describing the return shape and does so thoroughly: per-tab entries, ownership flag, timestamps, and all three signal types with their value formats. For a read-only presence tool with three parameters, nothing an agent needs to call or interpret the result is missing.

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 coverage is 100%, so 3 is the baseline; the description earns an extra point by adding meaning the schema does not carry, namely that omitted 'version' resolves to the newest version the caller may read rather than simply the newest version. It adds nothing for report_id or workspace_id, which is fine since the schema documents those fully.

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?

Opens with a specific, unambiguous statement of the resource and scope: 'Who has a version of a report open right now and where each of them is in it,' which is clearly distinct from the sibling read_report_data. It loses a point only because the verb is buried inside a very long clause chain with a nested example, rather than being stated crisply up front.

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 an explicit trigger ('Read it when someone says "this" or "the selected one" about a report') plus a routing rule to read_report_data or the report itself for the underlying content. It also resolves the main scoping ambiguity ('Leave version out for the newest version the person may read'). Lacks an explicit when-not-to-use case, which keeps it short of a 5.

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