Skip to main content
Glama

Get one BJJ gym

get_gym
Read-onlyIdempotent

One gym's facts (address, team, website, prices in local currency and USD, timezone) and, on request, its sections: timetable (the weekly classes, local times; filter with day), changes (cancelled or moved classes in the next 7 days), prices, coaches, programs, facilities, freshness (when bjj.space last checked it). Pass the id from find_gyms or the gym's bjj.space URL.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_gym"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe record's id from a find tool.
dayNoOnly this weekday's classes in timetable.
urlNoOr the gym's bjj.space URL, path or slug.
sectionsNoSections to include. Default: none (facts only).

Output Schema

NameRequiredDescriptionDefault
notesYesCaveats to pass on to the user.
recordYes
candidatesNoSet when the input matched several things: ask the user which one, then call again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior. The description adds useful behavioral context beyond that: which facts are returned, that timetable uses local times and can be filtered by day, that changes cover the next 7 days, and that freshness reflects the last bjj.space check.

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?

The description is front-loaded with the core purpose and then enumerates the returned facts and optional sections. It is dense but efficient, with each list item earning its place, though the single long sentence reduces readability slightly.

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 detail tool with a full output schema and fully described parameters, the description is complete enough to support correct invocation. It covers facts, sections, day filtering, changes window, and id/URL input sources without unnecessary return-value detail.

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 documents all four parameters. The description reinforces that id comes from find_gyms and that day filters the timetable, but it mostly repeats what the schema already provides.

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 states a specific verb and resource: fetching one gym's facts and optional sections. It distinguishes this from search-style siblings by saying 'One gym's facts' and directing the id from find_gyms.

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?

It clearly explains how to invoke it after finding a gym: pass the id from find_gyms or the gym's bjj.space URL. It also explains that sections are included only on request, though it does not give explicit exclusions or when-not-to-use 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