Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

add_persona_fact

Record a conclusion about a person's role or relationship, attaching the verbatim evidence sentence so later readers can verify the inference.

Instructions

Record what you concluded about a person from the persona evidence — for example "the hospital pharmacist" for someone whose address form is "Lin pharmacist" and whose delegated work is invoice processing. Yomi has no role vocabulary, so this is where your reading of the evidence becomes part of the graph. The quoted sentence you pass as evidence is kept, so a later reader can check the conclusion against the words it came from.

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_name": "<subject_name>",
      "term": "<term>",
      "evidence": "<evidence>"
    },
    "name": "add_persona_fact"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesThe role, in your own words (e.g. "hospital pharmacist", "wife", "company finance").
originNoOptional: 'named' when you concluded it from the evidence (default), or 'stated' when the owner told you outright.
categoryNoOptional: family, household, workplace, professional, client, or other.
evidenceYesThe quoted sentence the conclusion rests on, copied verbatim from the evidence in the graph.
instancesNoOptional: how many independent pieces of evidence back this (default 1).
confidenceNoOptional: confidence in [0,1] (default 0.5).
subject_midNoOptional: the person's LINE MID, when the graph gave you one. More reliable than the name.
subject_nameYesThe person's name, as it appears in the graph (e.g. "Lin Jialin"). Used to match the fact to a person.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that the quoted evidence sentence is retained verbatim so a later reader can audit the conclusion, which is real behavioral context. It says nothing about deduplication, whether re-adding the same subject/term overwrites a prior fact, or what confirmation is returned.

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?

Three sentences, front-loaded with the concrete action and an example that grounds the abstract advice. Slight redundancy in restating that the conclusion 'becomes part of the graph' and that evidence is 'kept', but no sentence is padding.

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?

For an 8-parameter mutation tool with no annotations and no output schema, the description supplies the key rationale (Why: no role vocabulary exists in the product) and the audit-trail guarantee. Optional parameters like confidence and instances are left entirely to the schema, which is acceptable at 100% coverage, though nothing explains what happens on conflicting facts.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, and the description clears it: it explains why the `evidence` quote matters (it is preserved for later verification) and frames `term` as the agent's own role wording rather than a controlled vocabulary. It does not add anything on origin, category, instances, or confidence beyond what the schema already says.

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 opens with a concrete verb-plus-object: 'Record what you concluded about a person from the persona evidence', reinforced by a worked example ('the hospital pharmacist' from 'Lin pharmacist'). An agent can tell this is the write-side counterpart to the get_persona_* read tools. It stops short of naming a sibling explicitly, so a 4 rather than 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 Guidelines3/5

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

Usage is implied rather than stated: because 'Yomi has no role vocabulary', this is where an agent should encode its own reading of the evidence. There is no explicit 'use this when…', no guidance on when a fact is worth recording versus leaving in the raw evidence, and no named alternative such as get_persona_evidence for the discovery step.

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