Skip to main content
Glama

BRAINIAC Food Hygiene Ratings

Get food safety ratings

food-safety_ratings
Read-onlyIdempotent

Retrieve the list of available hygiene rating values and their descriptions from the Food Standards Agency Food Hygiene Rating Scheme API. Docs: https://www.brainiac.software/api/food-safety/ratings Keywords: schemeType, source, Get food safety ratings, Food Hygiene Ratings, food safety, ratings.ratingId, ratings.ratingName, ratings.ratingKey.

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": "food-safety_ratings"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemeTypeNoschemeType, string, length 0 to 50. Optional.

Output Schema

NameRequiredDescriptionDefault
sourceNosource. Object.
ratingsNoratings. Array.
limitationsNolimitations. Array.
retrievedAtNoretrievedAt. String.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. Changed2 schema fields changed
    • addedInput schema / properties / schemeType / description
      Added value: +"schemeType, string, length 0 to 50. Optional."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "ratings": {
      +      "description": "ratings. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "fsaUrl": {
      +            "description": "fsaUrl. String.",
      +            "type": "string"
      +          },
      +          "ratingId": {
      +            "description": "ratingId. Number.",
      +            "type": "number"
      +          },
      +          "ratingKey": {
      +            "description": "ratingKey. String.",
      +            "type": "string"
      +          },
      +          "ratingKeyName": {
      +            "description": "ratingKeyName. String.",
      +            "type": "string"
      +          },
      +          "ratingName": {
      +            "description": "ratingName. String.",
      +            "type": "string"
      +          },
      +          "schemeTypeId": {
      +            "description": "schemeTypeId. Number.",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "retrievedAt": {
      +      "description": "retrievedAt. String.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "additionalProperties": {},
      +      "description": "source. Object.",
      +      "properties": {
      +        "retrievedAt": {
      +          "description": "retrievedAt. String.",
      +          "type": "string"
      +        },
      +        "status": {
      +          "description": "status. String.",
      +          "type": "string"
      +        },
      +        "url": {
      +          "description": "url. String.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the source API and documentation URL, but does not disclose rate limits, authentication requirements, or error behavior beyond what the annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is clear and front-loaded, but the trailing 'Keywords:' list contains redundant terms and does not help an agent invoke the tool correctly. The documentation URL is useful, while the keyword dump is filler that weakens conciseness.

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?

This is a simple reference-list tool with one optional parameter, full schema coverage, annotations, and an output schema, so the description does not need to explain return values. It omits when-to-use guidance and schemeType semantics, but it is otherwise complete enough to call correctly.

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 single optional schemeType parameter is documented in the schema, though only with type and length constraints. The description lists schemeType as a keyword but adds no meaning about what values are allowed or how the parameter affects results, so the baseline of 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?

The description states a specific verb and resource: retrieve the list of available hygiene rating values and their descriptions from the FSA Food Hygiene Rating Scheme API. It is clear what the tool returns, but it does not explicitly distinguish itself from sibling tools such as food-safety_search or food-safety_business.

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?

The description explains what the tool retrieves but gives no guidance on when to use it, when not to use it, or which sibling tool to choose instead. An agent must infer that this is a reference lookup for rating values rather than a search or business endpoint.

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