Skip to main content
Glama

List cortex facts

cortex_facts
Read-only

List facts stored in the cortex, each with its id and source. Optionally narrow with a search word. Use the ids with cortex_retract when a fact is no longer trusted.

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": "cortex_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional search word: only facts related to it are listed.
tagNoOptional entity tag: only facts carrying it are listed (e.g. 'account:meridian').
limitNoHow many facts to return at most (default 20).
tags_anyNoOptional: list facts carrying ANY of these tags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description contributes the return shape (id plus source per fact) and the retract hand-off, but says nothing about ordering, empty results, or whether full fact text is included.

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 resource and return shape, then the optional narrowing, then the actionable id hand-off. No redundant phrasing or repeated schema content.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, zero-required-parameter listing tool with full schema description coverage and no output schema, the description supplies purpose, optional filtering, and what the agent can do next. Nothing essential to invoke it correctly 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%, covering q, tag, limit and tags_any with their own prose and a default of 20. The description only echoes the 'search word' concept for q and adds nothing about tag filtering or the tags_any OR-semantics, so it is at the baseline where 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 states a specific verb and resource ('List facts stored in the cortex') and adds the payload shape ('each with its id and source'), which is concrete. It does not distinguish this enumeration tool from the sibling cortex_query, so an agent must infer which one to reach for when a keyword is supplied.

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?

It says the search word is optional and points forward to a downstream workflow ('Use the ids with cortex_retract when a fact is no longer trusted'), which helps sequence calls. There is no explicit when-not guidance and no comparison to cortex_query or cortex_remember, so the selection logic is only implied.

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