Skip to main content
Glama

check_relevance

Free relevance screen — checks whether an action touches any of your policy variables before running a paid check. Returns a relevance score and which variables matched. If should_check is true, run check_action. If false, the action is unrelated to your policy — skip the paid check. No credits charged. Requires api_key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe agent action to screen (max 2000 chars)
api_keyYesYour ICME API key
policy_idYesPolicy ID from make_rules
thresholdNoRelevance threshold (0.0 to 1.0). Default 0.0 — any match triggers should_check. Optional.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses cost (free, no credits charged), outputs (relevance score, matched variables, should_check flag), and conditional behavior (next steps based on should_check). It does not mention error handling or side effects, but for a screening tool, the disclosed traits are substantial.

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 compact and front-loaded with the key hook ('Free relevance screen'). Each sentence earns its place: purpose, return value, conditional guidance, cost indication, and auth requirement. No fluff or repetition.

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 no output schema, the description explains return values (score, matched variables) and the should_check flag meaning. It also covers cost and integration with check_action. Missing details like error responses or rate limits, but for the tool's simplicity and with full schema coverage, it is nearly 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?

Schema coverage is 100%, so baseline is 3. The description reiterates api_key and the should_check logic, but adds minimal new meaning about parameters themselves. It does not explain action, policy_id, or threshold beyond the schema descriptions, so it does not elevate beyond baseline.

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 clearly states the tool's purpose: a free relevance screen that checks policy variables before a paid check. It uses a specific verb ('checks') and resource ('policy variables'), and distinguishes itself from siblings like check_action and check_action_paid by explicitly positioning it as the preliminary step.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs when to use it: before running a paid check. It provides conditional guidance based on should_check, telling the agent to run check_action if true and skip the paid check if false. This clearly differentiates from alternative tools and gives actionable usage rules.

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.2/5.0
Disambiguation4/5

Each tool has a distinct role, but the presence of payment-method variants (check_action vs check_action_paid, create_account vs create_account_card, top_up vs top_up_card) introduces minor overlap that is clearly explained. The check tools are differentiated by output detail and purpose, though quick_check and check_action could be confused at a glance.

Naming Consistency4/5

Names predominantly follow a verb_noun pattern (check_action, create_account, run_tests), with consistent _paid and _card suffixes for payment variants. Minor deviations like quick_check (adjective_noun) and top_up (phrasal verb) are understandable but break the pattern slightly.

Tool Count5/5

With 14 tools, the set covers the full lifecycle of policy creation, testing, action checking, payment, and proof verification without bloat. Each tool serves a clear purpose within the service's scope.

Completeness4/5

The primary workflow (create policy, test policy, check actions, verify proofs) is well covered, including multiple payment options. Missing utilities like listing or deleting policies and credit balance checks are minor gaps that don't block the core use case.

Resources