Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

get_style_profile

Retrieve a user's writing style profile from indexed messages to draft replies that accurately match their tone, phrasing, and messaging behavior.

Instructions

Return the user's style read as three layers, kept apart on purpose. measured: a compact DIGITAL TWIN card computed from the local index — tone/phrasing guide, message segmentation/bursting (how to split into multiple short messages), emoji habits, sticker habits (when to use, with top sticker_id/package_id to send via send_sticker), and a PERSONAL WRITING-STYLE read measured from the user's own sent messages: a discrete attribute table (ideational: where a concrete value sits relative to the action verb, how dates and amounts are written; interpersonal: speech-act distribution, the politeness-strategy position of requests (direct imperative vs. mitigation-fronted vs. conditional), the moves that reduce imposition, the source of reasons; textual: how messages are cut into units, field arrangement, and the transition relations between units), plus the user's own verbatim sentences, what they do NOT do, and the items the sample cannot support. These are MEASUREMENTS of a corpus, not instructions: the guide lines state what the sample shows, and the sample is a heuristic approximation. rules: writing rules a model wrote after reading the owner's own messages as evidence — each with the sentence it rests on, the situation it applies to, and the situation it does NOT apply to. When a rule and a measurement disagree, the rule wins. vocabulary: the conversation's terms split by who used them — known_terms the counterpart has used themselves, unconfirmed_terms only the owner has used, i.e. the things that can confuse someone who has never heard of them. ALWAYS call before drafting/composing/sending any LINE reply or message — matching the user's voice and messaging behavior is Yomi's default. Pass chat_id to get per-conversation nuances. Reads local index only (no network); needs collect_messages to have indexed user's sent messages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_style_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idNoOptional: target conversation MID to include per-chat style nuances (segmentation/sticker habits can differ per chat).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.2
    • removedInput schema / properties / chatId
      Removed value: -{
      -  "description": "Optional: target conversation MID to include per-chat style nuances (segmentation/sticker habits can differ per chat).",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "Optional: target conversation MID to include per-chat style nuances (segmentation/sticker habits can differ per chat).",
      +  "type": "string"
      +}
  2. Addedv0.6.17

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it states that it reads the local index only with no network access, requires prior indexing via `collect_messages`, and explains that measurements are heuristic and that rules override measurements when they disagree. It does not mention rate limits or caching, but covers the most important behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the three-layer framing, but it is a single dense paragraph packed with nested parentheticals and jargon. The detail may be justified by the complex return value, yet the lack of formatting and some redundancy make it harder to parse than necessary.

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?

Given the complex, structured output and the absence of an output schema, the description explains the conceptual contents of `measured`, `rules`, and `vocabulary` in substantial detail. It does not specify the exact response shape or field names beyond a few examples, but an agent can understand what to expect well enough to call the tool.

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

Parameters3/5

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

There is only one optional parameter, `chat_id`, and the schema already documents it at 100% coverage. The description adds a short note that passing it yields per-conversation nuances, but largely repeats what the schema says.

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 description states a specific verb and resource: return the user's style read as three distinct layers (`measured`, `rules`, `vocabulary`). It clearly distinguishes this tool from generic retrieval tools by describing the type of content and how the layers are kept apart.

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?

It gives an explicit imperative: ALWAYS call before drafting, composing, or sending any LINE reply or message. It also names the `collect_messages` prerequisite, but does not explicitly state when not to use it or name alternative style-retrieval tools.

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