Skip to main content
Glama

KnownGate

check_item

Read-only

Rule one food subject against the household premise (restrictions, thresholds, or both). Needs a key (Authorization: Bearer kg_live_…); create a free one with the register tool. Returns one of four verdicts (no_conflict_found, conflict_found, ask_one_question, couldnt_verify) with typed hits, source kind and read date. Unknown counts as no; the word safe is never used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYes
thresholdsNoNumeric premise (beta): per-serving nutrient bounds ruled against the product's typed panel. Unknown values refuse honestly, never zero. An empty array means no numeric limits.
restrictionsYesHousehold restrictions. FDA-9 keys ("peanut", "sesame", "milk", …) as strings, or { key, note } when a note matters (e.g. { key: "tree_nut", note: "cashew" }). May be empty when thresholds carry the premise.

TDQS

A4.1/5.0
Behavior5/5

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

Although readOnlyHint=true already covers safety, the description goes well beyond that: it discloses the auth requirement, enumerates the four possible verdicts, describes the return contents ('typed hits, source kind and read date'), and clarifies edge-case semantics ('Unknown counts as no; the word safe is never used'). This is rich, non-obvious behavioral context.

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?

Every sentence earns its place: purpose, auth prerequisite, return contract, and key behavioral caveats. The core purpose is front-loaded, and there is no filler or repetition of schema details.

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?

With no output schema, the description appropriately discloses return verdicts and result contents. It covers the main invocation needs and key semantics, though it could add a bit more about how verdicts map to downstream decisions or when to prefer a sibling tool. Still, it is sufficiently complete for a well-scoped check operation.

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 coverage is 67%, so the schema already documents subject kinds, threshold fields, and restriction formats. The description adds useful relationship guidance ('restrictions, thresholds, or both') but does not compensate for the remaining unexplained parameter aspects. It is adequate but not exceptional.

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 uses a specific verb ('Rule') and a clear resource ('one food subject against the household premise'), and names the two premise types ('restrictions, thresholds, or both'). It strongly implies a single-item check rather than a plan or venue check, though it does not explicitly name sibling tools to differentiate them.

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?

The description gives clear context: this is for checking one food subject against household restrictions/thresholds, and it states a prerequisite (needs an API key obtainable via register). It does not explicitly say when not to use it or name alternatives like check_plan or check_venue, but the 'one food subject' phrasing provides enough contextual guidance.

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.

TDQS

A4.4/5.0
Disambiguation5/5

The three check tools target clearly different scopes: a single item, a multi-item plan, and a venue-wide chart. register is a distinct action for obtaining a credential. There is no realistic ambiguity between them.

Naming Consistency4/5

The check_* prefix gives strong pattern consistency across the core operations, and register is a clear verb. It deviates only by not following the check_ prefix, but this is easily understood because it serves a different purpose.

Tool Count5/5

Four tools is appropriately scoped for a focused food-safety checking server. Each tool performs a distinct function with no redundancy, and register is a necessary companion to the three check operations.

Completeness4/5

The core workflows of checking an item, a plan, and a venue are fully covered, along with developer key registration. Minor gaps exist around inspecting or managing the household premise/restrictions and recovering a lost API key, but they do not block the main checking workflow.

Resources