Skip to main content
Glama

locus_add_fact

Add a temporal subject–predicate–object fact to a local knowledge graph, with optional validity dates and source provenance, so agents can record time-aware, verifiable knowledge.

Instructions

Add a temporal fact (subject–predicate–object) to the KG.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "subject": "<subject>",
      "predicate": "<predicate>",
      "object": "<object>"
    },
    "name": "locus_add_fact"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectYes
sourceNo
subjectYes
valid_toNo
predicateYes
store_pathNo.locus
valid_fromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure and delivers almost none of it. "Temporal" hints that facts carry validity intervals, but nothing is said about deduplication, overwrite semantics, contradiction handling (despite a locus_contradictions sibling), or what store_path controls. For a write operation this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no wasted words, which is structurally clean. However, its brevity is achieved by omission rather than by precision, leaving the tool under-specified for seven parameters.

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

Completeness2/5

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

A no-annotation write tool with seven undocumented parameters and no output schema needs far more than one sentence. Nothing tells the agent what the return value is, whether the write is idempotent, or how the optional fields affect the stored fact.

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 0% across 7 parameters, so the description must compensate, and it only partially does: the SPO framing clarifies the three required fields. The four optional fields (source, valid_from, valid_to, store_path) get no explanation—only the adjective "temporal" gestures at the validity parameters.

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?

States a specific verb ("Add") and resource ("a temporal fact (subject–predicate–object) to the KG"), which is more precise than the sibling names alone convey by spelling out the triple shape. It does not explicitly distinguish itself from nearby writers such as locus_add_node or locus_add_alias, so it stops short of a 5.

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

Usage Guidelines2/5

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

No guidance on when to use this versus locus_add_node, locus_add_alias, or locus_annotate, all of which plausibly write into the same graph. There are no exclusions, preconditions, or statements about whether the tool upserts, deduplicates, or flags contradictions with existing facts.

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