M5 Petit Relations
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHARACTER_ID | No | 自分のキャラID | default |
| CHARACTERS_DIR | No | キャラクターディレクトリのパス(他のキャラのrelationsを読むために使う) | $PETIT_DATA_DIR/characters |
| PETIT_DATA_DIR | No | データディレクトリ(他のm5-petitコンポーネントと共有) | ~/petit_data |
| RELATIONS_PATH | No | 自分のrelations.jsonのパス | $CHARACTERS_DIR/<CHARACTER_ID>/data/relations.json |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_relationsA | 自分の関係性データを取得する。 自分・他のキャラ・人間のオーナーについて知っていることが返る。 他のキャラのrelationsも読める(公開情報)。 |
| update_relationA | 特定の相手(自分・他のキャラ・人間のオーナー等)への関係性情報を更新する。 target_id: 'self'(自分), 'owner'(人間のオーナー), または他のキャラID likes: 好きなもの・好きなところのリスト(追記) dislikes: 苦手なこと・苦手なところのリスト(追記) important: この相手について大事だと思う情報リスト(追記) feeling: この相手についての気持ち・印象(上書き) closeness: 親密度 0.0〜1.0(上書き) notes: その他メモ(上書き) |
| clear_relation_fieldA | 特定の相手の特定フィールドをクリアする。 field: 'likes', 'dislikes', 'important', 'feeling', 'closeness', 'notes' |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct purpose: get_relations reads data, update_relation modifies it, and clear_relation_field removes specific fields. There is no overlap in their primary actions, making selection unambiguous.
All three tools follow a verb_noun pattern (get, update, clear). However, 'get_relations' uses a plural noun while 'update_relation' and 'clear_relation_field' are singular, showing a minor inconsistency.
Three tools is a minimal but reasonable set for a simple relationship management server. It covers read, update, and clear operations without unnecessary bloat.
The tool set covers the core operations for managing relationship data. A notable gap is the lack of a delete-relation operation, but the ability to clear all fields partially compensates, and the domain may not require full CRUD.