Skip to main content
Glama

Get the open rule set for a diet

get_diet_rules

Returns the full, versioned rule set used by check_diet_fit, with every rule's source and the decisions log.

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_diet_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
dietNogluten-free

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It does disclose the payload's shape (versioned rules, per-rule sources, decisions log), which implies a read-only, potentially large response, but says nothing about size, pagination, truncation, or whether the rule set is cached/stable across versions.

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?

A single dense sentence with the resource front-loaded and the two payload components appended in order of importance. No filler, no restatement of the title.

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 read tool with no output schema, the description covers what comes back well enough to act on. The remaining gap is the undocumented diet parameter, which is a minor omission given its single-value enum and default.

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

Parameters2/5

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

Schema description coverage is 0% for the single `diet` parameter, and the description never mentions it. The schema only reveals a one-value enum (gluten-free) with a default, so the risk is low, but the description still adds no meaning about what the parameter selects or what happens if it is omitted.

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?

Specific verb ('Returns') plus a precise resource ('the full, versioned rule set') and an explicit content inventory (every rule's source and the decisions log). It also situates the tool relative to its only sibling, check_diet_fit, so an agent can distinguish the rule-set reader from the fit checker without opening either schema.

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

Usage Guidelines3/5

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

The phrase 'used by check_diet_fit' plus 'decisions log' implies the diagnostic use case (explaining why a fit result came out as it did), but the description never states when to call this versus check_diet_fit, nor any ordering or prerequisite. Usage is inferable rather than instructed.

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