Skip to main content
Glama

Check seating chart

check_seating_chart

Use this when the user already has a seating chart (typed rows or tables, or a file with Name and Table columns) and wants to check it against rules: who must be kept apart, kept together, needs a front seat, households together, head table and kids table, table capacities. Returns each broken rule with the people involved, the soft-preference score, and the same printable PDF, place cards and Excel for that chart. Does not move anyone; to make a new chart use generate_seating_chart. Each call saves new PDF and Excel files (which include the names) on the plugin server for 1 hour (private download links), then deletes them. Not for stadium or airline seat maps.

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": {
      "mode": "<mode>"
    },
    "name": "check_seating_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesclassroom for a teacher's seating chart of desks; event for a wedding, party, banquet or gala with tables.
rowsNoClassroom rows/pairs: number of rows from the front, e.g. 5.
chartNoThe existing chart to check. Classroom rows/pairs: one entry per row, front row first. Groups/events: one entry per group or table.
titleNoTitle printed on the chart, e.g. Period 3 - Room 114, or Lee & Park Wedding.
layoutNoClassroom desk layout: rows (single desks, default), pairs (desks in twos), or groups (pods/tables of group_size).
peopleNoThe students or guests: plain names ("Ava Martinez") or objects with flags, e.g. {"name":"Cara Diaz","needs_front_seat":true}. Leave out when a roster file is attached.
tablesNoEvents: table setup, e.g. [{"count":1,"seats":10,"type":"head","shape":"long"},{"count":12,"seats":8}].
columnsNoClassroom: desks per row (rows), desk pairs per row (pairs), or groups per row (groups), e.g. 6.
front_rowsNoClassroom: how many rows count as the front for needs_front_seat, e.g. 1 (default).
group_sizeNoClassroom groups layout: students per group, e.g. 4 (default).
keep_apartNoHard rule: people who must not sit next to each other (classroom: not beside, in front, behind or diagonal, nor in the same group; in pairs the seat across the aisle counts as beside unless aisle_breaks_adjacency is true; events: not at the same table). Each inner list is one rule, e.g. [["Ben","Eli"]].
label_ruleNoHow to use labels: mix (spread each label across groups and neighbours; the classroom default), group (seat the same label together, e.g. college friends; the event default), or ignore.
escort_sortNoEvents: sort the alphabetical escort card list by last_name (default) or first_name.
group_countNoClassroom groups layout: number of groups, e.g. 7. Default: just enough for everyone.
roster_fileNoOptional class roster or guest list as CSV, TSV or Excel .xlsx with a header row: a Name column (or First/Last), and optional Party/Household, Group/Label, Front seat, VIP, Child, RSVP, Keep apart (names) and Table columns, e.g. guests.xlsx.
table_countNoEvents shorthand: number of regular guest tables, e.g. 12. Default: just enough.
prefer_apartNoSoft preference: try to keep these people apart; scored, not forced. Each inner list is one rule, e.g. [["Uncle Joe","Aunt Sue"]].
keep_togetherNoHard rule: people who must sit next to each other (classroom) or at the same table (events). Each inner list is one rule, e.g. [["Ann Lee","Bob Lee"]].
prefer_togetherNoSoft preference: try to seat these people together; scored, not forced. Each inner list is one rule, e.g. [["Mia","Zoe"]].
seats_per_tableNoEvents shorthand: seats per regular table, e.g. 8 (default) or 10.
head_table_seatsNoEvents shorthand: add a long head table with this many seats for VIP guests, e.g. 10.
kids_table_seatsNoEvents shorthand: add a kids table with this many seats for guests marked child, e.g. 8.
aisle_breaks_adjacencyNoClassroom pairs: true if the aisle between desk pairs separates students, so the seat across the aisle does not count as beside. Default false (across the aisle counts as beside).

Output Schema

NameRequiredDescriptionDefault
modeYes
roomYes
seedYes
softYes
chartYes
seatsYes
titleYes
layoutYes
peopleYes
statusYes
warningsYes
conflictsYes
downloadsYes
hard_rulesYes
seat_orderNo
soft_scoreYes
chart_truncatedNo
seating_problemsYes
hard_rules_brokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that each call writes new PDF and Excel files containing names to the plugin server, that links are private and files are deleted after 1 hour, and that runs are non-idempotent producing new artifacts each time. It also describes what is returned (broken rules with people, soft-preference score, printable artifacts), which the agent needs to know for a tool annotated readOnly=false.

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?

Front-loaded with the trigger, then routing guidance, then output/side-effect disclosure; every sentence carries distinct information. It is dense and runs long, but no sentence is filler and none could be dropped without losing a decision-relevant fact.

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 23-parameter, nested-schema tool with an output schema, the description is complete: it covers input source options, what is checked, what is returned, the filesystem side effect and deletion window, and which sibling to use instead. Nothing an agent needs in order to invoke it correctly is missing.

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 description coverage is 100%, so the schema already explains every one of the 23 parameters in detail. The description adds only a high-level enumeration of rule categories (keep apart/together, front seat, households, head/kids tables, capacities), which hints at keep_apart, keep_together, needs_front_seat, party and tables but adds no syntax or format detail. Baseline 3 is appropriate when the schema carries the load.

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?

States a specific verb and resource ("check [a seating chart] against rules") and immediately scopes the input shape (typed rows/tables or a file with Name and Table columns). It explicitly contrasts itself with the sibling generate_seating_chart, so the agent can route without opening a schema.

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

Usage Guidelines5/5

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

Gives the triggering condition ("when the user already has a seating chart … and wants to check it"), an explicit exclusion ("Does not move anyone; to make a new chart use generate_seating_chart"), and a domain boundary ("Not for stadium or airline seat maps"). Both the when and the when-not are covered.

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