Skip to main content
Glama

list_traits

Read-only

Retrieve Pathfinder 2e traits ranked by entry count so you can choose valid values for the search_content traits filter.

Instructions

List traits by entry count. Use values in search_content's traits filter.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_traits"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum traits to list.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and an output schema exists, so the safety profile and return shape are covered. The description adds the sort ordering, which is real behavioral context, but says nothing about pagination or how large the trait set typically is.

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?

Two short sentences, front-loaded with the action and ordering, then the follow-up usage hint. Nothing is padded.

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 one-parameter read-only list tool with an output schema, this covers the essentials and ties the result to a sibling tool. Only the meaning of 'trait' and the sort direction are left implicit.

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?

There is a single optional `limit` parameter with 100% schema coverage and its own description ('Maximum traits to list'). The prose adds no format or interpretation details beyond that, so the schema does the work.

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 names a specific verb and resource ('List traits') and adds the ordering rule ('by entry count'), which distinguishes it from the sibling list_* tools such as list_categories and list_sources. It stops short of saying what a trait actually is or whether the ordering is ascending or descending.

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?

The second sentence gives a concrete downstream use case: take the returned values and pass them to search_content's `traits` filter. That is a useful routing hint, though it only explains one of the possible uses and gives no exclusions.

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