Skip to main content
Glama

get_ai_coach_preferences_for_client

Read-only

A client's AI-coaching preferences: diet type, allergies, cuisines, equipment, workout days, location and notes.

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": {
      "userId": "<userId>"
    },
    "name": "get_ai_coach_preferences_for_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesClient's User _id (from list_clients)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds no behavioral context beyond field names: it does not say what happens when a client has no preferences configured, whether defaults are returned, or whether values are coach-set vs client-set.

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?

A single compact sentence with no padding; the field list is the useful payload. It is a noun phrase rather than a sentence, so the payload is not explicitly framed as 'returns', but nothing is wasted.

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 single-parameter read with no output schema and read-only annotations, enumerating the returned fields is genuinely valuable and largely completes the picture. Only the relationship to sibling preference/profile tools remains undeclared.

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?

Only one parameter (userId) with 100% schema description coverage that already points to list_clients as the source. The description contributes nothing about the parameter, which is acceptable at this coverage level but adds no extra meaning.

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?

The fragment names a specific resource (a client's AI-coaching preferences) and enumerates the fields returned (diet type, allergies, cuisines, equipment, workout days, location, notes), which tells an agent exactly what data comes back. It lacks a verb and does not distinguish itself from the sibling get_client_preferences, so an agent must infer that this is the AI-coach-specific variant.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no mention of the obvious alternative get_client_preferences or get_client_profile. The agent is left to infer selection criteria from the tool name alone.

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.