Skip to main content
Glama
JinyangWang27

people-context

stage_candidates

Load extracted people, interactions, and relationship candidates into local memory for review and storage. Converts raw extraction output into structured, batched records.

Instructions

Stage agent-extracted people, interactions, affiliations, facts, observations, traits, and relationships.

Use this after extracting concise candidates from user-provided notes, meeting transcripts, or other agent-visible text. Distinguish what was stated (fact), what happened in this source (observation), and what you inferred (trait, which requires an explicit confidence and a concise evidence_note). Relationship candidates carry batch-local from_ref/to_ref and are ordinary-disclosure only: omit a relationship the user would consider sensitive or restricted rather than staging it.

References are batch-local; raw notes and source text must not be included in candidate fields. A request using observation, trait, or relationship is bounded to 500 candidates, a 128-character source, 1 MiB of candidate JSON, and 8 KiB per string.

A trait may name the records it was drawn from. Give a supporting observation or interaction any short evidence_ref label of your own and list those labels in the trait's evidence_refs; use evidence_ids for records already stored. Evidence must be about the trait's own person, and one trait cites at most 32 references and ids combined, each at most 256 characters.

source_kind optionally records an import receipt for this batch. It is a machine category such as meeting_transcript, at most 128 characters of letters, digits, ., _, -, or / — never a person, a title, or a description; put any human wording in label instead. If you can compute a SHA-256 over the exact source artifact, pass it as content_digest (64 lowercase hex characters) so re-importing that same source can be detected; without one, no duplicate detection is promised. extraction_fingerprint is optional and should be omitted unless you have explicit, bounded configuration semantics for it. None of these fields may carry source text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNo
sourceYes
candidatesYes
source_kindNo
content_digestNo
external_source_idNo
extraction_fingerprintNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say not read-only, not idempotent, not destructive, so the description carries the behavioral burden and does so thoroughly. It discloses candidate-count and string-size limits, relationship confidentiality rules, the ban on raw source text in candidate fields, SHA-256 based duplicate detection, and source_kind formatting constraints. No contradiction with annotations: the described write-and-detection behavior is consistent with readOnly false.

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?

The description is long but organized into semantic blocks: candidate types, constraints, confidentiality, evidence linking, and source receipt fields. It front-loads the core purpose before edge cases. A small amount of redundancy exists, such as the no-source-text rule stated more than once, but the density is justified by the tool's complexity.

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

Completeness5/5

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

For a complex 7-parameter tool with 0% schema descriptions and minimal annotations, the description supplies the operational essentials: candidate semantics, evidence-ref policy, disclosure behavior, size limits, and source handling. An output schema exists, so omitting return-value explanation is acceptable. An agent can select and invoke this tool correctly from the text alone.

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 coverage is 0%, and the description compensates substantially: it defines `source` limits, `source_kind` syntax, `content_digest` format and duplicate-detection role, `label` as the human-readable field, and trait evidence fields. However, `external_source_id` is never mentioned and the nested candidate structure is only partially specified, so not every parameter receives full treatment.

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 opening sentence names the verb 'Stage' and enumerates the exact resource types: people, interactions, affiliations, facts, observations, traits, and relationships. It also frames the distinct batching/provenance role, which separates it from the individual record_fact/record_observation/record_trait siblings.

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

Usage Guidelines4/5

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

The description gives an explicit trigger: 'Use this after extracting concise candidates from user-provided notes, meeting transcripts, or other agent-visible text.' It does not explicitly name alternatives or state when not to use it, but the context is clear enough for routing.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JinyangWang27/people-context'

If you have feedback or need assistance with the MCP directory API, please join our Discord server