Skip to main content
Glama
littlebigbrains

@littlebigbrain/mcp

lbb_configure

Configure knowledge graph schemas: define ontologies, apply ordered edits, and publish SHACL shapes. Preview changes with dry-run before writing metadata.

Instructions

Manage native schema metadata. Actions: define_ontology (friendly spec with super_types), evolve_ontology (ordered edits including add_super_types), publish_schema (SHACL activation). All support dry_run previews. Definition/import here extracts native metadata; it does NOT store the complete RDF/OWL document as queryable graph facts. Use lbb_rdf import for full OWL and lbb_rdf update for additive INSERT DATA revisions; RDF deletions are unsupported. Publish_schema accepts unchanged ontology plus shapes; use define/evolve for native ontology changes. Publication enqueues durable conformance; a preview does not validate the whole graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsNoOntology changes to apply in order (additive, in-place edits, or subtractive)
graphNoGraph to create or redefine
actionYesSelects the variant (one of: define_ontology, publish_schema, evolve_ontology).
branchNoBranch to target; defaults to the connection's branch
formatNo
shapesNo
sourceNo
dry_runNoPreview the exact definition without creating a graph or writing metadata.
ontologyNo
relationsNo
desired_modeNo
entity_typesNo
merge_defaultNo
confirm_restrictiveNo
allow_data_conflictsNoDeprecated compatibility flag; does not bypass conflicts. Preview subtractive changes with dry_run=true, repair the reported conflicts, then apply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.5.1
    • changedInput schema / properties / allow_data_conflicts / description
      Previous value: -"Apply subtractive ops (narrow/remove) even when current data conflicts; affected records are kept and begin to warn. Default false rejects a conflicting subtractive request and reports the conflicts."New value: +"Deprecated compatibility flag; does not bypass conflicts. Preview subtractive changes with dry_run=true, repair the reported conflicts, then apply."
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Preview the exact definition without creating a graph or writing metadata.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / entity_types / items / additionalProperties
      Removed value: -{}
    • addedInput schema / properties / entity_types / items / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / entity_types / items / type
      Removed value: -"object"
    • changedInput schema / properties / ops / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "add_domain": {
      -        "description": "Entity-type names to add to the relation's domain (source types)",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "add_range": {
      -        "description": "Entity-type names to add to the relation's range (target types)",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "widen_relation",
      -        "type": "string"
      -      },
      -      "relation": {
      -        "description": "Relation to widen, by name (case-insensitive)",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "relation"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "name": {
      -        "description": "Display name of the new entity type (idempotent if it exists)",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "add_entity_type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "cardinality": {
      -        "description": "Defaults to many_to_many",
      -        "enum": [
      -          "one_to_one",
      -          "one_to_many",
      -          "many_to_one",
      -          "many_to_many"
      -        ],
      -        "type": "string"
      -      },
      -      "domain": {
      -        "description": "Entity-type names allowed as the source (domain); must already exist",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "inverse_name": {
      -        "description": "Optional inverse-relation display name, e.g. PHASE_OF (enables one-hop reverse traversal)",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Display name of the new relation, e.g. HAS_PHASE",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "add_relation",
      -        "type": "string"
      -      },
      -      "range": {
      -        "description": "Entity-type names allowed as the target (range); must already exist",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "reducer": {
      -        "description": "State-reducer token, e.g. append_only (default), latest_wins",
      -        "type": "string"
      -      },
      -      "symmetric": {
      -        "type": "boolean"
      -      },
      -      "temporal_semantics": {
      -        "description": "Defaults to bitemporal",
      -        "enum": [
      -          "atemporal",
      -          "valid_time",
      -          "commit_time",
      -          "bitemporal"
      -        ],
      -        "type": "string"
      -      },
      -      "transitive": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "name": {
      -        "description": "Display name of the new scalar property field, e.g. status (idempotent if it exists)",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "add_property",
      -        "type": "string"
      -      },
      -      "required": {
      -        "description": "Advisory required flag (not enforced on commit)",
      -        "type": "boolean"
      -      },
      -      "value_type": {
      -        "description": "Scalar type; defaults to text. Lets a later lbb_commit set entity_properties[].field",
      -        "enum": [
      -          "bool",
      -          "i64",
      -          "f64",
      -          "date_time",
      -          "keyword",
      -          "text",
      -          "bytes"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "from": {
      -        "description": "Current entity-type name",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "rename_entity_type",
      -        "type": "string"
      -      },
      -      "to": {
      -        "description": "New display name (stable id stays frozen; records keep resolving)",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "from",
      -      "to"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "from": {
      -        "description": "Current relation name",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "rename_relation",
      -        "type": "string"
      -      },
      -      "to": {
      -        "description": "New display name (stable id stays frozen; edges keep resolving)",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "from",
      -      "to"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "inverse_name": {
      -        "description": "Inverse-relation display name, e.g. PHASE_OF (enables one-hop reverse traversal)",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_relation_inverse",
      -        "type": "string"
      -      },
      -      "relation": {
      -        "description": "Relation to set the inverse on, by name",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "relation",
      -      "inverse_name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "cardinality": {
      -        "enum": [
      -          "one_to_one",
      -          "one_to_many",
      -          "many_to_one",
      -          "many_to_many"
      -        ],
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_relation_cardinality",
      -        "type": "string"
      -      },
      -      "relation": {
      -        "description": "Relation to change, by name",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "relation",
      -      "cardinality"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "op": {
      -        "const": "narrow_relation",
      -        "type": "string"
      -      },
      -      "relation": {
      -        "description": "Relation to narrow, by name",
      -        "type": "string"
      -      },
      -      "remove_domain": {
      -        "description": "Entity-type names to remove from the relation's domain (subtractive)",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "remove_range": {
      -        "description": "Entity-type names to remove from the relation's range (subtractive)",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "relation"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "name": {
      -        "description": "Entity type to tombstone — kept readable for old records, rejected for new commits",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "remove_entity_type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "name": {
      -        "description": "Relation to tombstone — old edges stay readable, rejected for new commits",
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "remove_relation",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "name"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "entity_type": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "add_super_types",
      +        "type": "string"
      +      },
      +      "super_types": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "entity_type",
      +      "super_types"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "add_domain": {
      +        "description": "Entity-type names to add to the relation's domain (source types)",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "add_range": {
      +        "description": "Entity-type names to add to the relation's range (target types)",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "widen_relation",
      +        "type": "string"
      +      },
      +      "relation": {
      +        "description": "Relation to widen, by name (case-insensitive)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "relation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "description": "Display name of the new entity type (idempotent if it exists)",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "add_entity_type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "cardinality": {
      +        "description": "Defaults to many_to_many",
      +        "enum": [
      +          "one_to_one",
      +          "one_to_many",
      +          "many_to_one",
      +          "many_to_many"
      +        ],
      +        "type": "string"
      +      },
      +      "domain": {
      +        "description": "Entity-type names allowed as the source (domain); must already exist",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "inverse_name": {
      +        "description": "Optional inverse-relation display name, e.g. PHASE_OF (enables one-hop reverse traversal)",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Display name of the new relation, e.g. HAS_PHASE",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "add_relation",
      +        "type": "string"
      +      },
      +      "range": {
      +        "description": "Entity-type names allowed as the target (range); must already exist",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "reducer": {
      +        "description": "State-reducer token, e.g. append_only (default), latest_wins",
      +        "type": "string"
      +      },
      +      "symmetric": {
      +        "type": "boolean"
      +      },
      +      "temporal_semantics": {
      +        "description": "Defaults to bitemporal",
      +        "enum": [
      +          "atemporal",
      +          "valid_time",
      +          "commit_time",
      +          "bitemporal"
      +        ],
      +        "type": "string"
      +      },
      +      "transitive": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "description": "Display name of the new scalar property field, e.g. status (idempotent if it exists)",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "add_property",
      +        "type": "string"
      +      },
      +      "required": {
      +        "description": "Advisory required flag (not enforced on commit)",
      +        "type": "boolean"
      +      },
      +      "value_type": {
      +        "description": "Scalar type; defaults to text. Lets a later lbb_commit set entity_properties[].field",
      +        "enum": [
      +          "bool",
      +          "i64",
      +          "f64",
      +          "date_time",
      +          "keyword",
      +          "text",
      +          "bytes"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "description": "Current entity-type name",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "rename_entity_type",
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "New display name (stable id stays frozen; records keep resolving)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "from",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "description": "Current relation name",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "rename_relation",
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "New display name (stable id stays frozen; edges keep resolving)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "from",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "inverse_name": {
      +        "description": "Inverse-relation display name, e.g. PHASE_OF (enables one-hop reverse traversal)",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_relation_inverse",
      +        "type": "string"
      +      },
      +      "relation": {
      +        "description": "Relation to set the inverse on, by name",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "relation",
      +      "inverse_name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "cardinality": {
      +        "enum": [
      +          "one_to_one",
      +          "one_to_many",
      +          "many_to_one",
      +          "many_to_many"
      +        ],
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_relation_cardinality",
      +        "type": "string"
      +      },
      +      "relation": {
      +        "description": "Relation to change, by name",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "relation",
      +      "cardinality"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "op": {
      +        "const": "narrow_relation",
      +        "type": "string"
      +      },
      +      "relation": {
      +        "description": "Relation to narrow, by name",
      +        "type": "string"
      +      },
      +      "remove_domain": {
      +        "description": "Entity-type names to remove from the relation's domain (subtractive)",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "remove_range": {
      +        "description": "Entity-type names to remove from the relation's range (subtractive)",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "relation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "description": "Entity type to tombstone — kept readable for old records, rejected for new commits",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "remove_entity_type",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "description": "Relation to tombstone — old edges stay readable, rejected for new commits",
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "remove_relation",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / relations / $ref
      Removed value: -"#/properties/entity_types"
    • addedInput schema / properties / relations / items
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "$ref": "#/properties/entity_types/items/anyOf/1"
      +    }
      +  ]
      +}
    • addedInput schema / properties / relations / type
      Added value: +"array"
  2. Changed6 schema fields changedv0.2.7
    • changedInput schema / properties / action / description
      Previous value: -"Selects the variant (one of: define_ontology, define_rules, publish_schema, evolve_ontology)."New value: +"Selects the variant (one of: define_ontology, publish_schema, evolve_ontology)."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "define_ontology",
      -  "define_rules",
      -  "publish_schema",
      -  "evolve_ontology"
      -]New value: +[
      +  "define_ontology",
      +  "publish_schema",
      +  "evolve_ontology"
      +]
    • removedInput schema / properties / confirm_empty
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedInput schema / properties / desired_mode / enum
      Previous value: -[
      -  "warn",
      -  "reject"
      -]New value: +[
      +  "off",
      +  "warn",
      +  "reject"
      +]
    • removedInput schema / properties / preview_digest
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / rules
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "body": {
      -        "description": "The condition: a basic graph pattern over current edges (asserted + already-derived), joined on shared variables. Terms may be variables or fixed entities.",
      -        "items": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "object": {
      -              "$ref": "#/properties/rules/items/properties/body/items/properties/subject",
      -              "description": "A rule term: { \"var\": \"x\" } (a variable) or { \"entity\": { \"entity_type\": \"DeliveryStatus\", \"name\": \"Complete\" } } (a fixed entity used as a constant in the body or head)"
      -            },
      -            "predicate": {
      -              "description": "Relation name. In a rule body, the reserved \"rdf:type\" makes a type-membership constraint: the object names a class ({ entity: { entity_type: \"Contact\" } }, no name) and matches every entity of that class and its subtypes (rdfs:subClassOf closure), so one rule keyed on a supertype fires for all subtypes. Not allowed in a head or an exists/not_exists filter.",
      -              "type": "string"
      -            },
      -            "subject": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "var": {
      -                      "description": "A variable, joined across patterns by name",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "var"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "entity": {
      -                      "additionalProperties": true,
      -                      "properties": {
      -                        "entity_id": {
      -                          "description": "Entity id (hex), as an alternative to type+name",
      -                          "type": "string"
      -                        },
      -                        "entity_type": {
      -                          "description": "Entity type name (with `name`, names a fixed entity)",
      -                          "type": "string"
      -                        },
      -                        "name": {
      -                          "description": "Entity name (paired with `entity_type`)",
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "entity"
      -                  ],
      -                  "type": "object"
      -                }
      -              ],
      -              "description": "A rule term: { \"var\": \"x\" } (a variable) or { \"entity\": { \"entity_type\": \"DeliveryStatus\", \"name\": \"Complete\" } } (a fixed entity used as a constant in the body or head)"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "combinators": {
      -        "description": "exists/not_exists filters folded over the body. not_exists is stratified negation — it lets a rule express a universal condition, e.g. derive \"phase complete\" only when not_exists an incomplete deliverable. A negation cycle is rejected.",
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "properties": {
      -                "exists": {
      -                  "items": {
      -                    "$ref": "#/properties/rules/items/properties/body/items"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "exists"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": true,
      -              "properties": {
      -                "not_exists": {
      -                  "items": {
      -                    "$ref": "#/properties/rules/items/properties/body/items"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "not_exists"
      -              ],
      -              "type": "object"
      -            }
      -          ],
      -          "description": "An existence filter over the body solutions: { exists: [...] } (semijoin — keep rows with a compatible match) or { not_exists: [...] } (negation/antijoin — keep rows with none)"
      -        },
      -        "type": "array"
      -      },
      -      "head": {
      -        "$ref": "#/properties/rules/items/properties/body/items",
      -        "description": "The triple derived once per body solution. Every head variable must be bound by the body; a fixed-entity object derives a constant (e.g. set the rolled-up status to the Complete entity)."
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "order": {
      -        "description": "Run order, low to high (a determinism hint)",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  3. First observedv0.2.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only provide readOnlyHint=false and destructiveHint=false, so the description carries most of the behavioral burden. It discloses important traits: dry_run previews exist, the tool does NOT store the full RDF/OWL document, RDF deletions are unsupported, and a preview does not validate the whole graph. It could add more about side effects of tombstoning operations, but the key behavioral caveats are present.

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?

The description is dense but well-structured: purpose first, then actions, then critical caveats and sibling routing. Every sentence earns its place, and there is no filler or repetition of schema content.

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?

This is a high-complexity tool with 15 parameters, nested objects, and no output schema, yet the description covers the core invocation decisions and major pitfalls: not storing RDF facts, unsupported RDF deletions, preview limitations, and publication semantics. It does not describe return values, which is a small gap given the absence of an output schema, but the rest is sufficient for safe use.

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 40%, below the 50% threshold, so the description must compensate. It does add action-level meaning: define_ontology uses a friendly spec with super_types, evolve_ontology applies ordered edits, and publish_schema activates SHACL shapes. However, many parameters such as branch, format, source, entity_types, desired_mode, merge_default, and confirm_restrictive are left mostly to the schema, so compensation is only partial.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Manage native schema metadata') and names the three actions. It distinctly differentiates from the closest sibling by stating that definition/import here extracts native metadata and does NOT store the complete RDF/OWL document as queryable graph facts. This is a clear, non-tautological statement of tool ownership.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly routes to alternatives: use lbb_rdf import for full OWL and lbb_rdf update for additive INSERT DATA revisions, with RDF deletions unsupported. It also gives intra-tool guidance, stating publish_schema is for unchanged ontology plus shapes while define/evolve are for native ontology changes. This is concrete when/when-not usage guidance.

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