Skip to main content
Glama

current_fact

Read-onlyIdempotent

Retrieve the currently valid value for a subject and predicate, with provenance, to help AI agents use the active fact from shared memory.

Instructions

The currently valid value for subject+predicate, with provenance.

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>"
    },
    "name": "current_fact"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYes
predicateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already state readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description's only added behavioral signal is 'with provenance', which tells the agent the response carries source information, but it says nothing about what happens when no fact exists for the pair.

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?

A single tight clause with zero filler, and the key concept (current, not historical) is front-loaded. It is arguably over-compressed — a verb and a note on the lookup key format would cost little and add much.

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?

An output schema exists, so return values need not be explained, and annotations cover the read-only safety profile. Still, for a keyed lookup tool, the definition omits what happens on a miss and gives no guidance on parameter format — the two things an agent most needs before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so both parameters are bare 'string' fields, and the description only restates their names as a composite key. It does not clarify what form a subject or predicate should take (entity identifier, relation label) or whether they are case-sensitive, leaving the agent without execution-level guidance.

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 resource — the currently valid value for a given subject+predicate pair — and adds that provenance is included. That is enough for an agent to tell it apart from historical/conflict-oriented siblings like timeline or open_conflicts, though the phrasing is a noun phrase with no explicit retrieval verb.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The word 'currently' weakly implies a contrast with historical tools such as timeline, but the agent must infer that entirely on its own.

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