Skip to main content
Glama

Surf Booking: Surf Lessons & Surf Forecast

Lesson details

lesson_details
Read-onlyIdempotent

Get full details of a specific bookable lesson by its id (date, time, level, price, duration, spots left, what's included). Takes a lesson id from a lesson search result. Read-only. Great for 'tell me more about that lesson' or 'o que está incluído nessa aula'.

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": {
      "lessonId": "<lessonId>"
    },
    "name": "lesson_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
lessonIdYesThe lesson id from a lesson search result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, so the safety profile is covered; the description's 'Read-only' largely repeats that. Its real added value is disclosing the payload contents (a returned-field list including price, spots left and what's included), which compensates for the absent output schema. It does not mention errors for invalid ids or whether spots-left is live.

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-loads the core action and the returned fields in the first sentence, then adds provenance and usage in two short follow-ups. The trailing bilingual example is a small flourish but earns its place as an intent cue; overall there is little wasted text.

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 one-parameter lookup with rich annotations and no output schema, the description covers what is needed: what the id is, what comes back, and that the call is safe and repeatable. Minor gaps (behavior on an unknown/expired lesson id) are not enough to impair correct invocation.

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?

There is a single parameter at 100% schema description coverage, and the schema already says 'The lesson id from a lesson search result' – the same wording the description repeats. No additional format, sourcing or validation meaning is added beyond the schema, so the baseline of 3 applies.

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 and resource (get full details of a specific bookable lesson by id) and enumerates the concrete fields returned (date, time, level, price, duration, spots left, what's included). It implicitly separates itself from a search tool by noting the id comes from a lesson search result, but it never names the sibling (e.g., search_lessons) so the contrast is inferential rather than explicit.

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

Usage Guidelines4/5

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

Gives clear usage context: call it after a lesson search result when the user wants more about a specific lesson, illustrated with 'tell me more about that lesson'. It states the prerequisite source of the id, but offers no explicit when-not-to-use guidance or named alternative, so it stops short of full routing guidance.

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