Skip to main content
Glama

Submit a free trial inquiry

submit_free_trial_inquiry
DestructiveIdempotent

Send a free-trial inquiry for a free class after the user confirms the details. Not for paid classes; never resend an inquiry the user already sent. Returns the inquiry intent ID and submission status.

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": {
      "branch_slug": "<branch_slug>",
      "occurrence_key": "<occurrence_key>",
      "first_name": "<first_name>",
      "last_name": "<last_name>",
      "email": "<email>",
      "date_of_birth": "<date_of_birth>",
      "phone": "<phone>",
      "note": "<note>",
      "language": "<language>"
    },
    "name": "submit_free_trial_inquiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesOptional inquiry message supplied by the user; send an empty string if absent.
emailYesThe signed-in account's email address; inquiries cannot use another person's email.
phoneYesPhone number supplied by the inquirer for the club to contact them.
languageYesPreferred supported language code, such as en, de, es, fr or pl.
last_nameYesLast name supplied by the person making the free trial inquiry.
first_nameYesFirst name supplied by the person making the free trial inquiry.
request_idNoOptional retry identifier. Reuse it when retrying the same confirmed inquiry; never resubmit a completed inquiry.
branch_slugYesPublic club slug returned by search_clubs; this is not a branch UUID.
date_of_birthYesThe inquirer's date of birth, YYYY-MM-DD, supplied in the secure inquiry form.
occurrence_keyYesExact class occurrence key returned by the public or member class schedule.

Output Schema

NameRequiredDescriptionDefault
statusYes
intent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / branch_slug / description
      Added value: +"Public club slug returned by search_clubs; this is not a branch UUID."
    • addedInput schema / properties / date_of_birth / description
      Added value: +"The inquirer's date of birth, YYYY-MM-DD, supplied in the secure inquiry form."
    • addedInput schema / properties / email / description
      Added value: +"The signed-in account's email address; inquiries cannot use another person's email."
    • addedInput schema / properties / first_name / description
      Added value: +"First name supplied by the person making the free trial inquiry."
    • addedInput schema / properties / language / description
      Added value: +"Preferred supported language code, such as en, de, es, fr or pl."
    • addedInput schema / properties / last_name / description
      Added value: +"Last name supplied by the person making the free trial inquiry."
    • addedInput schema / properties / note / description
      Added value: +"Optional inquiry message supplied by the user; send an empty string if absent."
    • addedInput schema / properties / occurrence_key / description
      Added value: +"Exact class occurrence key returned by the public or member class schedule."
    • addedInput schema / properties / phone / description
      Added value: +"Phone number supplied by the inquirer for the club to contact them."
    • addedInput schema / properties / request_id / description
      Added value: +"Optional retry identifier. Reuse it when retrying the same confirmed inquiry; never resubmit a completed inquiry."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "intent_id": {
      +      "title": "Intent Id",
      +      "type": "string"
      +    },
      +    "status": {
      +      "title": "Status",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "intent_id",
      +    "status"
      +  ],
      +  "title": "Inquiry",
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / request_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / request_id / default
      Added value: +null
    • removedInput schema / properties / request_id / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "branch_slug",
      -  "occurrence_key",
      -  "first_name",
      -  "last_name",
      -  "email",
      -  "date_of_birth",
      -  "phone",
      -  "note",
      -  "language",
      -  "request_id"
      -]New value: +[
      +  "branch_slug",
      +  "occurrence_key",
      +  "first_name",
      +  "last_name",
      +  "email",
      +  "date_of_birth",
      +  "phone",
      +  "note",
      +  "language"
      +]
  3. Changed2 schema fields changed
    • removedInput schema / properties / turnstile_token
      Removed value: -{
      -  "title": "Turnstile Token",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "branch_slug",
      -  "occurrence_key",
      -  "first_name",
      -  "last_name",
      -  "email",
      -  "date_of_birth",
      -  "phone",
      -  "note",
      -  "language",
      -  "turnstile_token",
      -  "request_id"
      -]New value: +[
      +  "branch_slug",
      +  "occurrence_key",
      +  "first_name",
      +  "last_name",
      +  "email",
      +  "date_of_birth",
      +  "phone",
      +  "note",
      +  "language",
      +  "request_id"
      +]
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety and idempotency profile is carried by structured data. The description reinforces the no-resend rule but never explains the side effects an agent would want to know for a destructive+openWorld mutation: whether the club is notified, whether a confirmation goes to the user, or what failures look like. The mention of return values duplicates the output schema rather than adding behavioral context.

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?

Three short sentences, front-loaded with the action and scope, then the exclusions, then the return shape. No sentence is filler and the ordering matches how an agent needs the information.

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?

With an output schema and full parameter documentation, the description only needs to carry preconditions and non-use rules, which it does. The remaining gap is behavioral: for a destructive, open-world submission it says nothing about notification side effects or error handling, which is the one thing structured fields cannot supply.

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% and each of the ten parameters is documented in-schema, including the branch_slug-vs-UUID distinction and the request_id retry semantics. The description adds no parameter meaning of its own beyond the general confirmation precondition, so baseline 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 ('Send a free-trial inquiry for a free class') plus a scope exclusion ('Not for paid classes'), so the agent knows what it submits and what it does not. It stops short of naming the sibling that precedes it (show_free_trial_form), relying instead on the implicit sequencing phrase 'after the user confirms the details'.

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 a genuine precondition ('after the user confirms the details') and two clear when-not conditions: paid classes and resending an inquiry the user already sent. It does not point at an alternative tool for those excluded cases, so the routing guidance is clear but not complete.

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