Skip to main content
Glama

search_concepts

Read-onlyIdempotent

Search and filter OKF concepts with text queries and structured filters, returning ranked summaries to quickly locate relevant knowledge graph entries.

Instructions

Search OKF concepts and return ranked summaries using text and structured filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfNoUTC ISO date or datetime used for deterministic freshness evaluation.
limitNoMaximum number of concepts to return.
queryNoAll-term text query matched against concept metadata and content; maximum 16 terms.
typesNoLimit results to any of these concept types.
bundleNoLimit results to this bundle id.
detailNoCompact returns only URI, title, type, and description; full includes ranking, navigation metadata, and signals.compact
offsetNoNumber of matching concepts to skip before returning results.
runtimeNoLimit results to this Attested Computation runtime.
tagsAllNoRequire all of these tags.
tagsAnyNoRequire at least one of these tags.
linkedToNoRequire an outgoing edge to this concept URI.
statusesNoLimit results to lifecycle statuses.
freshnessNoLimit results to unspecified, fresh, stale, or invalid freshness states.
hasSourcesNoRequire concepts to have or not have normalized sources.
linkedFromNoRequire an incoming edge from this concept URI.
orphanOnlyNoReturn only concepts without incoming or outgoing resolved edges.
pathPrefixNoLimit results to bundle relative paths beginning with this prefix.
trustTiersNoLimit results to unverified, machine-confirmed, or human-reviewed trust tiers.
verifiedByNoLimit results to concepts verified by this actor.
frontmatterNoExact frontmatter filters; array fields use contains matching.
generatedByNoLimit results to this generator actor.
relationTypeNoLimit results to concepts with an outgoing relation of this type.
attestationReadyNoRequire static Attested Computation readiness.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.9.1
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "compact",
      +  "description": "Compact returns only URI, title, type, and description; full includes ranking, navigation metadata, and signals.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Text query matched against concept metadata and content."New value: +"All-term text query matched against concept metadata and content; maximum 16 terms."
    • addedInput schema / properties / query / maxLength
      Added value: +512
  2. Changed13 schema fields changedv0.4.0
    • addedInput schema / properties / asOf
      Added value: +{
      +  "description": "UTC ISO date or datetime used for deterministic freshness evaluation.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / attestationReady
      Added value: +{
      +  "description": "Require static Attested Computation readiness.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / freshness
      Added value: +{
      +  "description": "Limit results to unspecified, fresh, stale, or invalid freshness states.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / frontmatter
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Exact frontmatter filters; array fields use contains matching.",
      +  "type": "object"
      +}
    • addedInput schema / properties / generatedBy
      Added value: +{
      +  "description": "Limit results to this generator actor.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / hasSources
      Added value: +{
      +  "description": "Require concepts to have or not have normalized sources.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / linkedFrom
      Added value: +{
      +  "description": "Require an incoming edge from this concept URI.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / linkedTo
      Added value: +{
      +  "description": "Require an outgoing edge to this concept URI.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / orphanOnly
      Added value: +{
      +  "default": false,
      +  "description": "Return only concepts without incoming or outgoing resolved edges.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / runtime
      Added value: +{
      +  "description": "Limit results to this Attested Computation runtime.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / statuses
      Added value: +{
      +  "description": "Limit results to lifecycle statuses.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / trustTiers
      Added value: +{
      +  "description": "Limit results to unverified, machine-confirmed, or human-reviewed trust tiers.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / verifiedBy
      Added value: +{
      +  "description": "Limit results to concepts verified by this actor.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. First observedv0.3.3

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered structurally. The description adds the 'ranked summaries' output nature, which is genuinely useful context. It does not, however, disclose pagination, the temporal significance of the asOf parameter, or result-shape variation across the detail enum — modest gaps that annotations do not cover.

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?

A single sentence, front-loaded with the imperative verb 'Search,' that packs the verb, resource, output nature, and filter modes with zero filler words. Nothing is wasted and nothing is repeated from the schema or annotations.

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?

For a tool with 23 parameters and semantics like temporal asOf, freshness states, trust tiers, and frontmatter object filters, a one-line description is thin on orienting context. However, the schema fully documents every parameter and the annotations cover the safety profile, so the agent can still invoke it correctly. 'Ranked summaries' hints at output, and no output schema exists to carry the return contract.

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% — all 23 parameters carry their own descriptions in the schema, including the detail enum, offset/limit ranges, and filter semantics. The description adds zero parameter-level detail beyond the schema, which is the correct baseline (3) for a fully self-documenting schema.

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 ('Search'), a resource ('OKF concepts'), and an output shape ('return ranked summaries'), with the scope delimited by 'using text and structured filters.' This clearly distinguishes a search-and-filter operation from the sibling list_concepts (pure enumeration) and get_concept (single retrieval). It loses a point only because it never names or explicitly contrasts those siblings.

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 phrase 'using text and structured filters' implies this is the go-to tool when free-text or structured filtering is needed, in contrast to the listing siblings. However, with four list/search-adjacent sibling tools (list_concepts, get_concept, get_neighbors, find_paths), there is no explicit statement of when to prefer this tool over those, nor any exclusion or prerequisite guidance.

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