Skip to main content
Glama

ad_get_table

Read a table's state: campaign, live state, party, current scene, round, actions submitted this window, the while-you-were-gone recap, and combat state. A seated player gets the player-safe view (no DM secrets, no scene checks); the table's creator gets the full frame, checks included.

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": {
      "tableId": "<tableId>"
    },
    "name": "ad_get_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableIdYesThe table id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/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 well: it discloses the access-control model (player-safe view for seated players, DM secrets and scene checks redacted; full frame for the creator), which is exactly the kind of behavioral trait an agent needs. It doesn't say what happens for a caller who is neither seated nor creator, nor whether the read mutates 'window' state implicitly.

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?

Two sentences, zero filler. The returned-content enumeration is front-loaded and the access-control nuance follows as the second beat — appropriate ordering for a read tool.

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?

No output schema exists, so the description must convey return shape — and it does, listing the frame's components and the redaction rules. The main remaining gap is the error/behavior case for callers who are neither seated nor the creator.

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?

Single required parameter with 100% schema description coverage, so baseline 3 applies. The description adds no format, source, or lookup detail for tableId beyond what the schema already states.

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+resource ('Read a table's state') and enumerates the returned frame contents (campaign, live state, party, scene, round, actions, recap, combat). It implicitly distinguishes from list tools like ad_list_tables, but never names a sibling explicitly.

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?

The role-based framing ('a seated player gets the player-safe view... the table's creator gets the full frame') gives useful context about who should call it and what they'll see. However, no alternative is named — an agent can't tell from this whether a non-seated observer should use ad_spectate_table instead, or when to prefer ad_get_rolls over this.

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