Skip to main content
Glama

cromanion_visit

Read-only

One visit in full: the story of each page load, every moment Cromanion's agent looked at the visitor and what it decided, what the visitor actually saw, and the doubts it read. Pass the visitId from cromanion_visits, or a sessionId from cromanion_live once that visitor has left. Needs the visits permission. Readings sit under reading; a moment at or after the conversion carries observed instead, because the conversion is a fact. shown.seen is what the visitor's browser confirmed, not what was sent. Same 60-an-hour budget as cromanion_visits.

Input Schema

NameRequiredDescriptionDefault
siteIdNoWhich site this call is about. Only needed when your credential covers more than one — cromanion_grants lists them and says whether it is required. Omitting it with several is refused rather than guessed at.
visitIdNoFrom cromanion_visits.
sessionIdNoInstead of visitId: any session of the visit, e.g. one seen in cromanion_live.

Output Schema

NameRequiredDescriptionDefault
okYes
visitYesEverything in a cromanion_visits row, plus `narrative` (one entry per session: startedAt, flushed, text — empty while not yet flushed), `moments` (at, path, kind, trigger, outcome, shown, reading | observed) and `truncated` when only the newest 30 sessions are returned.
readMeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnlyHint, openWorldHint), and the description adds substantial context beyond them: the visits permission requirement, the shared 60-per-hour rate budget with cromanion_visits, and semantic notes on output fields (`observed` supersedes `reading` post-conversion, `shown.seen` is browser-confirmed rather than sent).

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 role of the tool, then identifiers, permission, and field semantics. Information-dense with little waste, though the output-field explanations run a bit long for a tool that also ships an output schema.

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?

Given a read-only tool with three optional parameters, an output schema, and 100% schema coverage, the description supplies everything an agent needs: what it returns conceptually, which IDs to pass, permission requirements, and rate limits.

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 the baseline is 3, but the description adds real meaning: it frames visitId/sessionId as mutually alternative entry points and notes the timing constraint on sessionId. It adds incremental value over the schema rather than merely restating it.

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?

Names a specific resource and scope: 'One visit in full' with the story of each page load, agent decisions, visitor-visible outcome, and doubts. It clearly distinguishes itself from cromanion_visits (the list) and cromanion_live (in-flight sessions) without the agent needing to open either 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?

Explicitly states which identifiers to supply and where they come from — `visitId` from cromanion_visits, or `sessionId` from cromanion_live 'once that visitor has left' — plus the required visits permission. The alternative-selection condition is spelled out rather than implied.

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