Skip to main content
Glama

rate_item

Record a 1–5 rating for a dining hall food item and optional location to build a personal taste profile and improve meal recommendations.

Instructions

Rate a food item from 1-5. Quick way to build your taste profile.

Use this when someone says "the chicken was great" or "that pasta was a 2".

Args:
    item_name: Name of the food item
    rating: 1 (terrible) to 5 (amazing)
    location: Optional — where you had it

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": {
      "item_name": "<item_name>",
      "rating": "<rating>"
    },
    "name": "rate_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingYes
locationNo
item_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the 1-5 rating scale and that the tool contributes to a taste profile, but it does not state whether re-rating overwrites an earlier rating, what permissions are needed, or whether the action is reversible. The description adds some useful semantics but leaves significant mutation behavior unspecified.

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 short and front-loaded with the core action and usage examples. The Args block is clear and only lists relevant fields. The 'Quick way to build your taste profile' line adds purpose without excessive fluff, though it could be trimmed.

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?

The tool is simple (3 params), has an output schema so return values need not be explained, and the description covers purpose, usage triggers, and every parameter including optionality. The main missing piece is behavioral detail about how ratings are recorded or updated, which matters with no annotations.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It defines all three parameters: item_name as the food item name, rating with a meaningful 1 (terrible) to 5 (amazing) scale, and location as optional with an example of where the item was had. The integer schema for rating would otherwise lack scale meaning, so this is valuable compensation.

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 description states a specific verb and resource: 'Rate a food item from 1-5.' It also frames the outcome as building a taste profile. It does not explicitly differentiate from siblings such as log_meal, so it lands at 4 rather than 5.

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?

Concrete trigger phrases are given: 'the chicken was great' or 'that pasta was a 2'. This clearly indicates when to use the tool. There is no explicit guidance on when not to use it or which sibling to prefer for related actions like logging a meal.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.