Skip to main content
Glama

Coordinalo — Service Business Operations

portal_session_cancel

Cancel a client's session on behalf of the client (client-initiated cancellation: cancelledBy=client). Allowed from scheduled/pending_confirmation/confirmed; rejects past sessions. Idempotent: a session already cancelled returns alreadyCancelled=true. Distinct from the admin cancellation with cancellation-policy charges — this is the client-portal cancel flow. The org API key owner is recorded as the actor acting on behalf of the client (ADR-004 §6).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNo
orgSlugYes
sessionIdYes
cancellationReasonNo

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It excellently covers idempotency (alreadyCancelled=true), status restrictions, actor attribution (org API key owner recorded per ADR-004), and the distinction from admin cancellation with policy charges—far exceeding typical transparency.

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?

The description is front-loaded with the primary action and includes four sentences, each adding critical information (state restrictions, idempotency, flow distinction, actor recording). There is no redundant or filler content; every sentence earns its place.

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?

Given the absence of annotations and output schema, the description is quite thorough, covering status preconditions, idempotency, actor semantics, and the client-flow distinction. However, the complete lack of parameter explanations leaves a notable gap in operation-level context, preventing a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for 4 parameters, yet the description gives no explanation of apiKey, orgSlug, sessionId, or cancellationReason. It references the session and org API key conceptually, but does not map these to the actual parameters or clarify their roles, leaving the agent without semantic guidance.

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 action: cancel a client's session on behalf of the client. It specifies the resource (client session), the initiating party (cancelledBy=client), and explicitly distinguishes itself from the admin cancellation flow, making its scope 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?

The description provides explicit when-to-use guidance by listing allowed session statuses (scheduled/pending_confirmation/confirmed) and disallowing past sessions. It also contrasts with the admin cancellation flow, indicating when not to use this tool, which serves as a clear exclusion criterion.

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

B3.3/5.0
Disambiguation2/5

Multiple parallel booking creation flows (booking_create, scheduling_book, public_booking_create) and session state transition tools (booking_update_status, lifecycle_transition) create ambiguity. While descriptions are detailed, an agent could easily select the wrong tool for a given task, especially with 111 tools to choose from.

Naming Consistency4/5

Most tools follow a consistent domain_action pattern (e.g., client_create, service_update, comms_list_campaigns). Minor deviations include Spanish/English mixing (cierre_*, report_deuda_real) and a few noun-only names like org_summary, but the overall structure is predictable.

Tool Count1/5

With 111 tools, the server is massively over-scoped for an MCP surface. Even for a broad service business domain, this exceeds reasonable limits and will overwhelm agents, making tool selection slower and more error-prone.

Completeness4/5

The tool surface is extremely thorough, covering org setup, services, providers, booking (internal/public/spec), finance, payroll, closing, disputes, clinical notes, treatment plans, and reporting. Gaps are rare and often intentional (e.g., no deliver via MCP, read-only treatment plans), so agents can complete most workflows end-to-end.