Skip to main content
Glama
OntoLayer MCP Server

OntoLayer MCP Server

by AshubShafqat

check_answerable

Verifies whether the caller can use a specified certified metric, so agents can confirm access before requesting calculations.

Instructions

Check whether the caller can use this certified metric.

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": {
      "metric_id": "<metric_id>"
    },
    "name": "check_answerable"
  }
}

Input Schema

NameRequiredDescriptionDefault
metric_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. It does not say whether the check is read-only, what factors make a metric answerable (permissions, certification status, data availability), whether it errors or returns a boolean, or whether results are cached or rate-limited.

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?

One short sentence with no padding, but its brevity reflects under-specification rather than economy. The key information, namely what the check evaluates and what identifier form it takes, is simply absent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. Still, for an authorization-gate tool with no annotations and an undocumented required parameter, the description should at minimum explain what makes a metric answerable and how metric_id is formed; neither is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter, metric_id, is undocumented in both schema and description. The description never states the expected identifier form (name, slug, or numeric id), so the agent must guess the format.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb ("Check") and a specific subject (whether the caller can use a certified metric), which conveys the general purpose. However, it gives no distinction from siblings such as query_metric or get_metric, so an agent cannot tell from the text alone why it would call this instead of simply attempting the query.

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?

There is no guidance on when to call this check, when to skip it, or which sibling to use as an alternative. The agent must infer that this is a pre-flight authorization gate before query_metric, which is plausible but never stated.

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