Skip to main content
Glama

Requirement keys for a subcategory

requirement_keys
Read-onlyIdempotent

The requirement keys a subcategory accepts for match_requirements: numeric keys with unit and catalog range, and text keys with their options.

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": {
      "subcategory": "<subcategory>"
    },
    "name": "requirement_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
subcategoryYes

Output Schema

NameRequiredDescriptionDefault
keysNo
errorNoSet when the tool could not answer; the other fields are then absent.
subcategoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / subcategory / maxLength
      Added value: +120
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "error": {
      +      "description": "Set when the tool could not answer; the other fields are then absent.",
      +      "type": "string"
      +    },
      +    "keys": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "subcategory": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world lookup, so the safety profile is covered. The description adds the shape of the result (numeric keys carry a unit and a catalog range; text keys carry options), which is genuinely beyond the annotations. It says nothing about size, ordering, or what an empty result means.

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?

A single sentence with zero padding, front-loading the resource and its consumer. The phrasing 'The requirement keys a subcategory accepts' reads as a noun fragment rather than a complete clause, a minor structural blemish in an otherwise tight definition.

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 not be explained and the annotation set covers safety. The gap is the input: with a single required, undocumented parameter and no pointer to list_categories, an agent cannot confidently form the call. Adding how to source the subcategory value would complete it.

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?

There is one required parameter, subcategory, and schema description coverage is 0%, so the burden falls on the description. The description only repeats the word 'subcategory' from the title and never explains what value to supply — a category ID, a path, or a name — nor points to list_categories for obtaining it.

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 states precisely what is returned: the requirement keys a subcategory accepts, split into numeric keys (with unit and catalog range) and text keys (with options). It also ties itself to the sibling match_requirements, so an agent can distinguish it from other siblings. It lacks an explicit verb such as 'list' or 'get', which keeps it short of 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?

By naming match_requirements as the consumer, the description implies the tool is a precursor: discover keys before calling match_requirements. That context is useful but implicit — there is no statement of when not to use it, nor any instruction to call it first. Usage is inferable rather than stated.

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