Skip to main content
Glama

Get photo sessions

get_sessions
Read-only

List the photo sessions recorded on this operator's booths, with totals. Call this when the operator asks how busy a booth has been, how many sessions ran in a period, or wants to inspect individual sessions. Supports date ranges, per-booth filtering, payment status and payment channel. For money totals rather than session counts, use get_revenue_summary instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many sessions to return (default 20, max 100)
endDateNoISO date (YYYY-MM-DD) for the end of the range, inclusive
startDateNoISO date (YYYY-MM-DD) for the start of the range, inclusive
projectIdsNoComma-separated project ids to limit the range to specific booths
paymentSourceNoPayment channel, e.g. gateway, cash-voucher, discount-voucher
sessionStatusNoSession status filter
transactionStatusNoPayment status filter, e.g. settlement, pending

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalNoSessions matching the filter, across all pages
returnedYesHow many are in this response
sessionsYes
totalPagesNo

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is clear. The description adds useful behavioral context: it returns sessions with totals, supports date ranges and filters, and is for inspecting sessions. It doesn't contradict annotations and adds value beyond the structured fields.

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?

Four sentences, each earning its place: purpose, usage trigger, filter capabilities, and explicit alternative. Front-loaded with the core verb and resource, no redundant or vague language.

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?

For a read-only list tool with an output schema, the description covers purpose, usage scenarios, filter options, and alternatives. It doesn't mention pagination details, but the limit parameter and output schema cover that. Minor gap: unclear if 'with totals' means aggregated rows or session-level data with a total field, but output schema would clarify.

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 parameters are already well-documented. The description echoes filter categories (date ranges, per-booth, payment status/channel) at a high level but doesn't add new semantics or clarify edge cases beyond the schema. Thus baseline 3 is appropriate.

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 clearly states the tool lists photo sessions recorded on the operator's booths, with totals. It distinguishes from get_revenue_summary by explicitly directing money-related queries to that sibling tool, making the purpose unambiguous.

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?

Provides explicit when-to-use guidance: 'Call this when the operator asks how busy a booth has been, how many sessions ran in a period, or wants to inspect individual sessions.' Also names the alternative for money totals (get_revenue_summary), giving clear direction on tool selection.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: account connection/status, credits, gallery stats, project details, revenue, sessions, wallet transactions, project listing, and docs. Descriptions explicitly differentiate between similar tools such as revenue vs. wallet transactions and sessions vs. gallery stats.

Naming Consistency4/5

Most tools follow a verb_noun pattern (get_*, list_*, connect_*, search_*). connection_status deviates slightly by omitting the 'get' prefix, but the overall pattern is predictable and readable.

Tool Count5/5

10 tools is well-scoped for a photobooth analytics and management assistant. Each tool covers a distinct need, from account connection to revenue reporting, with no redundant or unnecessary tools.

Completeness5/5

The tool surface covers the full lifecycle of typical operator queries: account setup, status, credits, project listing/detail, session counts, revenue across channels, wallet ledger, gallery retention, and documentation search. No obvious dead ends or missing operations for the stated purpose.