Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official

propose_personal_context

Save sourced draft changes to a consultant’s Personal Context for review and publishing in Unilytics, without altering the published context.

Instructions

Save changes to the consultant's own Personal Context as its draft, each entry with where it comes from: what the user said, a memory the AI holds about the user (from Claude, ChatGPT, Gemini or another AI), or a public page about them. The draft waits in the Unilytics app, where the consultant publishes or discards it; the published Personal Context, and what get_personal_context returns, stay unchanged until then. This tool doesn't publish, discard or delete.

Use when the user asks to add to or update their Personal Context (their role, current projects, goals, working
style, tools), including bringing over what their AI already remembers about them.

Per section: `remove` takes entries out by id, then `update` replaces an entry whole in place (its id), then
`add` appends new entries in the order given. Every added or updated entry cites at least one source. A Personal
Context that already has a draft waiting for review takes no new proposal, except one that adds to this
connection's own pending proposal (draft_proposal_id). Limits: 50 entries per section, 2,000 characters per entry
and per quote, 10 sources per entry, 64 KiB in all.

Args:
    based_on_revision: published_revision as get_personal_context returned it (0 until the first publish). A
        Personal Context published or erased since is refused.
    sections: Changes per section (role_and_domain, current_projects, goals, working_style_and_preferences,
        tools_and_systems), each {add, update, remove}; a section left out stays as it is.
    draft_proposal_id: The proposal_id (pcp_…) an earlier call returned, to add these changes to that pending
        proposal.
    mutation_id: Optional UUID for this proposal. A repeat with the same mutation_id and arguments returns the
        saved proposal instead of saving another; an OUTCOME_UNKNOWN error names the one it used.

[Provider: Unilytics]

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": {
      "based_on_revision": "<based_on_revision>",
      "sections": "<sections>"
    },
    "name": "propose_personal_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionsYes
mutation_idNo
based_on_revisionYes
draft_proposal_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the draft staging model (published context and get_personal_context output stay unchanged), the draft-conflict rule, hard limits (50 entries, 2,000 chars, 10 sources, 64 KiB), and retry semantics via mutation_id. It does not describe the shape of a successful response (e.g., the returned proposal_id and draft state), which is the main remaining gap for a mutation tool with no output schema.

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?

Front-loaded and clearly sectioned: purpose, non-goals, usage, ordering rules, limits, then Args. Some of the Args block repeats what the schema's nested descriptions already say (section names, remove/update/add ordering, source types), which is mild redundancy but aids scanning.

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 a four-parameter mutation with nested source objects and no output schema, the definition covers conflict handling, idempotency, and limits thoroughly. Only the success response contents are left implicit, which an agent would need to chain into a later draft_proposal_id call.

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

Parameters5/5

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

Top-level schema properties carry no descriptions (0% coverage), so the description must compensate and does: based_on_revision is tied to published_revision with the refusal rule for stale revisions, draft_proposal_id is tied to the pcp_ prefix and pending-proposal semantics, and mutation_id's dedupe/OUTCOME_UNKNOWN behavior is spelled out. Ordering and per-section semantics for `sections` are also explained.

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?

States a specific verb and resource ('Save changes to the consultant's own Personal Context as its draft') and immediately bounds scope with 'This tool doesn't publish, discard or delete.' The contrast with get_personal_context (which returns the published version) makes the sibling distinction explicit.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('Use when the user asks to add to or update their Personal Context... including bringing over what their AI already remembers') with concrete content examples. It also names a when-not condition: a Personal Context with a pending draft takes no new proposal except via draft_proposal_id.

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

Deploy Server

Other Tools