Skip to main content
Glama

henosis

get_facet_values

Read-only

Distinct values (with counts, most common first) of one sourced field on an EntityType — the candidate values for a filter facet, e.g. the operators present or the well statuses in use. field is a path like 'state.status' or 'identity.operator'. For a filtered query, pass the chosen values to list_entities' filters as {path: [v1, v2]}. format (json|tsv|md, default json) applies to this list result only.

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": {
      "type": "<type>",
      "field": "<field>"
    },
    "name": "get_facet_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
fieldYes
limitNo
formatNojson

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description adds real value: results include counts and are ordered most common first, and `format` affects only this list result, not downstream calls. It does not say what happens when `limit` truncates the distinct set, which is the one behavioral gap.

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

Conciseness4/5

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

Front-loaded with the core definition, then usage, then format scoping — each clause carries information and nothing is filler. The nested parentheticals make it slightly denser than necessary, but no sentence could be deleted without losing guidance.

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

Completeness3/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 no explanation, and the read-only annotation covers safety. However, for a 4-parameter tool with zero schema coverage, leaving `limit` (default 100) and `type` undocumented leaves an agent guessing about result truncation and valid type values.

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 description coverage is 0%, so the description must carry parameter meaning. It does well for `field` (path syntax with two concrete examples) and `format` (enum values plus the scoping caveat), but `limit` and `type` are never explained — notably whether `limit` caps the number of distinct values returned.

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?

States a specific verb+resource: distinct values (with counts, most common first) of one sourced field on an EntityType. The framing as 'candidate values for a filter facet' with concrete examples ('state.status', 'identity.operator') separates it cleanly from list_entities (full records), aggregate, and count_entities.

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?

Gives explicit workflow guidance: enumerate candidate values here, then pass the chosen values to list_entities' `filters` as {path: [v1, v2]}. That is clear when-to-use context, but there is no explicit exclusion (e.g. 'do not use this to retrieve entities themselves' or guidance on when count_entities/aggregate is preferable).

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.