Skip to main content
Glama

list_instincts

List loaded instincts with filtering and pagination. Returns {total, matched, returned, offset, store, items} where store reports the resolved instincts directory and how it was resolved.

Instructions

List loaded instincts with filtering and pagination. Returns {total, matched, returned, offset, store, items} where store reports the resolved instincts directory and how it was resolved. Use include_rules=false for compact listings when many instincts are loaded (MCP client UIs may truncate large responses around 40-50KB).

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_instincts"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoFilter by tag (membership in tags array)
limitNoMaximum entries to return (default 1000, max 5000)
domainNoFilter by domain (exact match)
offsetNoStarting offset for pagination (default 0)
active_onlyNoReturn only active instincts (default false)
include_rulesNoInclude rule text in items (default true). Set false for compact listing of large instinct sets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.0-beta.4
    • addedInput schema / properties / active_only
      Added value: +{
      +  "description": "Return only active instincts (default false)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / domain
      Added value: +{
      +  "description": "Filter by domain (exact match)",
      +  "type": "string"
      +}
    • addedInput schema / properties / include_rules
      Added value: +{
      +  "description": "Include rule text in items (default true). Set false for compact listing of large instinct sets.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum entries to return (default 1000, max 5000)",
      +  "type": "number"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Starting offset for pagination (default 0)",
      +  "type": "number"
      +}
    • addedInput schema / properties / tag
      Added value: +{
      +  "description": "Filter by tag (membership in tags array)",
      +  "type": "string"
      +}
  2. First observedv2.0.0-alpha.7

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the exact return envelope ({total, matched, returned, offset, store, items}), explains that store reports the resolved instincts directory and how it was resolved, and warns about response truncation at 40-50KB. It stops short of stating permission requirements or explicitly declaring the operation read-only, which is only implied by 'List'.

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?

Three sentences, front-loaded with the purpose, then the return envelope, then the practical usage tip. Every sentence adds information, though the brace-delimited field enumeration is dense and could be slightly tighter without losing meaning.

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?

There is no output schema, so the description must describe the return value, and it does so precisely down to the field names and the meaning of 'store'. For a six-parameter, all-optional read tool with full schema coverage, the only missing piece is any statement of prerequisites or alternatives.

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 coverage is 100%, so tag, domain, limit, offset, and active_only are already fully documented in the schema. The description adds genuine meaning only for include_rules, explaining why to set it false and the truncation threshold that motivates it; the remaining five parameters get no elaboration beyond structured data.

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 ("List loaded instincts") plus scope qualifiers ("with filtering and pagination"), which is unambiguous. It does not explicitly distinguish itself from siblings such as list_available_contexts, but the resource noun 'instincts' vs 'contexts' does most of that work.

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?

Guidance is given only for one parameter: use include_rules=false for compact listings when many instincts are loaded, with the concrete reason that client UIs truncate around 40-50KB. There is no statement of when to prefer this tool over siblings (e.g., sync_instincts, get_syntax_rules) or when a full listing is inappropriate, so usage is implied rather than spelled out.

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