Skip to main content
Glama

Sample values

sample_values
Read-only

Show the most common values of a field, with counts: how the source system spells them. = and in match exact spellings, so a guessed value that is spelled differently matches nothing, without an error.

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": {
      "entity": "<entity>",
      "field": "<field>"
    },
    "name": "sample_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldYesfield to sample; relationship paths are allowed
limitNohow many distinct values to return (default 20)
modelNomodel name; omit for the default
entityYesentity holding the field

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower, and the description adds genuinely new behavioral context: results are ranked by frequency with counts, and value matching in the query system is exact-spelling with silent non-matches. That silent-failure detail is useful information an agent could not derive from annotations or schema.

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?

Two compact sentences with the core capability front-loaded and no filler. The second sentence is slightly opaque because '= and in' are referenced as operators without being introduced, which costs a little clarity.

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?

For a small read-only tool with four fully documented parameters and no output schema, the description covers what is returned in essence (values with counts) and the main semantic gotcha. It could say more about ordering or how counts are computed, but nothing essential for correct invocation is missing.

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 100%, so the baseline is 3; the schema already explains entity, field (including relationship paths), model, and the limit default of 20. The description adds no parameter-specific syntax or semantics beyond what the schema provides.

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 opens with a specific verb+resource: 'Show the most common values of a field, with counts', which is concrete and distinguishes it from query/search style tools by emphasizing distinct-value sampling. It does not explicitly name a sibling it replaces or differs from, which keeps it just below a 5.

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 warning that '= and in match exact spellings, so a guessed value that is spelled differently matches nothing, without an error' strongly implies the tool should be used to discover exact spellings before filtering. However, this is implied rather than stated as a directive, and no sibling tool (query, search, describe_entity) is named as the alternative.

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.

Resources