Skip to main content
Glama
Compass DaaS

Compass DaaS

Official

Decide restaurant fit

compass_decide_fit
Read-onlyIdempotent

Evaluate whether a restaurant fits a user's dietary profile. Returns fit, not fit, or unknown with reason codes, evidence, and user-friendly wording.

Instructions

Conservative fit decision for a restaurant against a user dietary profile. Returns "fit", "not_fit", or "unknown" with reason codes, evidence, and user wording. Returns "unknown" rather than overclaiming.

Input Schema

NameRequiredDescriptionDefault
modeNoResponse detail mode; rich includes fuller evidence and reasoningrich
compass_idYesCompass restaurant ID, obtained from compass_search or compass_enrich_restaurant
user_profileYesRequired dietary profile for the restaurant fit decision

Output Schema

NameRequiredDescriptionDefault
decisionYesConservative decision for the submitted profile
evidenceYesEvidence supporting the decision
compass_idYesStable Compass restaurant ID
confidenceYesDecision confidence
risk_flagsNoRisk flags that should be surfaced to the user
reason_codesYesCompass public reason codes explaining the decision
source_freshnessNoAge and refresh guidance for the evidence behind a result
last_evaluated_atNoWhen Compass last evaluated this restaurant for decision freshness
recommended_user_textNoConservative user-facing wording
verification_requiredNoTrue when the user should verify with the restaurant before relying on the result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint, idempotentHint, and openWorldHint, which the description does not contradict. The description adds valuable behavioral context: it is 'conservative' and returns 'unknown' rather than overclaiming, which goes beyond the annotations by clarifying the decision philosophy.

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?

The description is two sentences long, front-loads the key action and outputs, and contains no wasted words. Every sentence contributes essential information.

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?

Given the tool's complexity (3 parameters with a nested object, annotations, output schema), the description adequately covers the core behavior. It explains the conservative nature and the three possible outcomes. Missing details like what 'reason codes' and 'evidence' entail are likely covered by the output schema, so the description is largely complete.

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?

The input schema description coverage is 100%, so the schema already documents all parameters. The description adds high-level behavioral context (conservatism, 'unknown' return) but no additional parameter-specific meaning beyond what the schema provides. Baseline 3 is appropriate.

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?

The description uses the specific verb 'decide' and resource 'restaurant fit', and clearly states it returns 'fit', 'not_fit', or 'unknown' with additional artifacts. It distinguishes itself from the sibling tools (compass_search finds restaurants, compass_enrich_restaurant enriches data) by focusing on the fit decision.

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 description implies a conservative decision approach and warns against overclaiming, but does not explicitly state when to use this tool versus its siblings or any prerequisites. It lacks explicit context on when not to use it, leaving the agent to infer from the purpose.

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