Skip to main content
Glama

BRAINIAC Food Hygiene Ratings

Get food business details

food-safety_business
Read-onlyIdempotent

Retrieve detailed information for a specific food business by its FSA FHRSID from the Food Standards Agency Food Hygiene Rating Scheme API. Docs: https://www.brainiac.software/api/food-safety/business Keywords: fsaId, found, source, Get food business details, Food Hygiene Ratings, food safety, business.fsaId, business.localAuthorityBusinessId.

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": {
      "fsaId": "<fsaId>"
    },
    "name": "food-safety_business"
  }
}

Input Schema

NameRequiredDescriptionDefault
fsaIdYesfsaId, integer, from 1 to 9007199254740991. Required.

Output Schema

NameRequiredDescriptionDefault
foundNofound. Boolean.
fsaIdNofsaId. Number.
sourceNosource. Object.
businessNobusiness. Object.
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 / fsaId / description
      Added value: +"fsaId, integer, from 1 to 9007199254740991. Required."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "business": {
      +      "additionalProperties": {},
      +      "description": "business. Object.",
      +      "properties": {
      +        "address": {
      +          "additionalProperties": {},
      +          "description": "address. Object.",
      +          "properties": {
      +            "line1": {
      +              "description": "line1. String.",
      +              "type": "string"
      +            },
      +            "line2": {
      +              "description": "line2. String.",
      +              "type": "string"
      +            },
      +            "line3": {
      +              "description": "line3. String.",
      +              "type": "string"
      +            },
      +            "line4": {
      +              "description": "line4. String.",
      +              "type": "string"
      +            },
      +            "postcode": {
      +              "description": "postcode. String.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "businessName": {
      +          "description": "businessName. String.",
      +          "type": "string"
      +        },
      +        "businessType": {
      +          "description": "businessType. String.",
      +          "type": "string"
      +        },
      +        "businessTypeId": {
      +          "description": "businessTypeId. Number.",
      +          "type": "number"
      +        },
      +        "changesByServerId": {
      +          "description": "changesByServerId. Number.",
      +          "type": "number"
      +        },
      +        "distance": {
      +          "description": "distance. Null.",
      +          "type": "null"
      +        },
      +        "fsaId": {
      +          "description": "fsaId. Number.",
      +          "type": "number"
      +        },
      +        "fsaUrl": {
      +          "description": "fsaUrl. String.",
      +          "type": "string"
      +        },
      +        "geocode": {
      +          "additionalProperties": {},
      +          "description": "geocode. Object.",
      +          "properties": {
      +            "latitude": {
      +              "description": "latitude. String.",
      +              "type": "string"
      +            },
      +            "longitude": {
      +              "description": "longitude. String.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "localAuthority": {
      +          "additionalProperties": {},
      +          "description": "localAuthority. Object.",
      +          "properties": {
      +            "code": {
      +              "description": "code. String.",
      +              "type": "string"
      +            },
      +            "email": {
      +              "description": "email. String.",
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "name. String.",
      +              "type": "string"
      +            },
      +            "website": {
      +              "description": "website. String.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "localAuthorityBusinessId": {
      +          "description": "localAuthorityBusinessId. String.",
      +          "type": "string"
      +        },
      +        "phone": {
      +          "description": "phone. String.",
      +          "type": "string"
      +        },
      +        "rating": {
      +          "additionalProperties": {},
      +          "description": "rating. Object.",
      +          "properties": {
      +            "date": {
      +              "description": "date. String.",
      +              "type": "string"
      +            },
      +            "key": {
      +              "description": "key. String.",
      +              "type": "string"
      +            },
      +            "pending": {
      +              "description": "pending. Boolean.",
      +              "type": "boolean"
      +            },
      +            "value": {
      +              "description": "value. String.",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "retrievedAt": {
      +          "description": "retrievedAt. String.",
      +          "type": "string"
      +        },
      +        "rightToReply": {
      +          "description": "rightToReply. String.",
      +          "type": "string"
      +        },
      +        "schemeType": {
      +          "description": "schemeType. String.",
      +          "type": "string"
      +        },
      +        "scores": {
      +          "additionalProperties": {},
      +          "description": "scores. Object.",
      +          "properties": {
      +            "confidenceInManagement": {
      +              "description": "confidenceInManagement. Number.",
      +              "type": "number"
      +            },
      +            "hygiene": {
      +              "description": "hygiene. Number.",
      +              "type": "number"
      +            },
      +            "structural": {
      +              "description": "structural. Number.",
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "found": {
      +      "description": "found. Boolean.",
      +      "type": "boolean"
      +    },
      +    "fsaId": {
      +      "description": "fsaId. Number.",
      +      "type": "number"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "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.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds the upstream API identity and a docs link, but says nothing about failure behavior for an unknown fsaId or any rate/coverage limits.

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

Conciseness2/5

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

The first sentence and docs URL earn their place, but the trailing keyword dump ('fsaId, found, source, Get food business details, Food Hygiene Ratings, food safety, business.fsaId, business.localAuthorityBusinessId') is SEO noise that dilutes the front-loaded purpose.

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 rich annotations and an output schema, the description supplies what an agent needs: the resource, the lookup key, and the authoritative source. Only the sibling-routing guidance is missing.

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?

With a single parameter at 100% schema description coverage, the schema already carries the definition and range. The description only restates that lookup is keyed on the FSA FHRSID, adding no format or sourcing guidance beyond that.

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: 'Retrieve detailed information for a specific food business by its FSA FHRSID', naming the upstream source (FSA FHRS API). The 'by its FSA FHRSID' phrasing implicitly separates it from the search/ratings siblings, though it never names them explicitly.

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?

Usage is only implied: the agent must infer that this is the right tool when it already holds an FHRSID, and that food-safety_search is the path when it does not. No when-to-use, when-not, or alternative is stated.

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