Skip to main content
Glama
liorsolomon

second-brain-mcp

by liorsolomon

Upsert Person

upsert_person

Create or update a person in your second brain while matching names and aliases to prevent duplicate contacts. Store email or phone only when explicitly provided.

Instructions

Create or update a person. Matches existing names and aliases to avoid duplicates. Only store email/phone when the user explicitly gives them to be stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metNo
orgNo
nameYesFull name, e.g. 'Dana Levi'
roleNo
emailNo
notesNoA fact to add under 'Who they are'
phoneNo
aliasesNo
contextNo
met_viaNo
follow_upNoYYYY-MM-DD
relationshipNofriend|family|colleague|client|partner|investor|vendor|advisor|acquaintance

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so safety is partly covered; the description goes beyond them by disclosing dedup behavior ("Matches existing names and aliases to avoid duplicates") and a data-handling restriction for email/phone. It stops short of explaining what happens when a match is ambiguous or how unspecified fields behave on update.

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?

Three short sentences with zero filler; the core create/update purpose is front-loaded, followed by dedup behavior and the privacy constraint in order of importance. Every sentence carries information an agent needs.

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 described, and the dedup plus privacy notes are genuinely useful for a mutation tool. However, with 12 params and only a third documented, the description is not complete enough to guide correct invocation of the remaining fields or to explain merge semantics on update.

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?

With 12 parameters and only 33% schema description coverage, the schema leaves most fields undocumented (met, org, role, context, met_via, follow_up, relationship, phone). The description covers only name/aliases matching and the email/phone storage rule, so it does not compensate for the large coverage gap.

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 gives a specific verb pair and resource ("Create or update a person"), so an agent immediately knows this is an upsert operation on a person entity. It does not, however, differentiate itself from ambiguous siblings such as person, write, patch, or capture, leaving the agent to infer which tool handles which mutation.

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?

Use is implied by the upsert semantics, and one meaningful condition is given ("Only store email/phone when the user explicitly gives them to be stored"). But there is no explicit when-to-use/when-not guidance and no sibling is named, so an agent cannot tell whether patch or write is the better route for partial updates.

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