io.github.aokings/thth
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| THTH_ROOT | Yes | Root directory for THTH data (ledger, state, secrets). Accounts are stored under $THTH_ROOT/accounts unless THTH_ACCOUNTS_DIR is set. | |
| THTH_ACCOUNTS_DIR | No | Optional directory that overrides the default accounts location ($THTH_ROOT/accounts). |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| thth_lintA | docs/sns/queue の 1 ファイルを形式検査する(読むだけ・副作用なし)。 |
| thth_queueB | draft/approved/posted/型外 の一覧と、次に出るもの・いつかを返す(読むだけ)。 |
| thth_previewB | 実際に投げる本文そのもの(媒体の節。前後に何も足さない)を返す(読むだけ)。 |
| thth_topic_contextA | 原稿のトピックを決める前に最初に呼ぶ。原稿と(あれば)記事本文から、判断の入力を固定して返す。記事がまだ無ければ、取りに行くべき URL と必要な JSON の形を返す(読むだけ・副作用なし)。使う順序: context → 足りない資料を取る → evaluate。 |
| thth_topic_evaluateB | 記事本文と候補比較を渡して、引用が本文に在るか・参照が実在するか・観測が新しいか・投稿者が偏っていないかを検査させる。THTH は候補を作らないし順位も付けない——足りないものを言うだけ。候補が suitable でなければ別の候補に繰り上げず、比較し直しを求める。 |
| thth_topic_decisionA | 保存済みの判断を読む(読むだけ)。今の原稿と食い違っていれば freshness で言う。 |
| thth_boardB | アカウントごとの最終投稿・approved 待ち・inflight・型外の骨を返す(読むだけ)。 |
| before_you_postB | 投稿する前に呼ぶ。この語とこの型で、スレッドがどう伸びたかの実績を、件数と期間つきで返す |
| operations_handoffB | ローカル運用記録の状態・承認待ち・inflight・通知未処理を根拠と鮮度の制約付きで返す。同期・承認・再送はしない |
| study_reportA | ローカル施策JSONの未検証の採用宣言と本人の観測を結ぶ。proposedは集計せず、adoptedも因果効果や投稿承認を証明しない。読むだけ |
| analytics_reportA | 自分の活動のスナップショットを期間・母数・欠測・根拠つきで返す。ローカル台帳を読むだけ。compare_previous=trueで前期間比較。推奨は含まない |
| after_you_postedB | 出したあとに呼ぶ。この語・この型・この枝で、自分の投稿と返信がどう受け取られたかを、件数と期間つきで返す |
| thread_readA | 返信を書く前に呼ぶ。この投稿の枝を、誰が・いつ・何を・誰に向けて言ったかの順で返す。何も保存しない |
| where_to_appearA | 絡みに行く先を選ぶ前に呼ぶ。検索の一覧に、自分の履歴(この語・この相手で何が起きたか)を重ねて返す。選ぶのは呼ぶ側 |
| who_is_thisA | 返信する相手を確かめる。この仮名と自分のアカウントの接触の回数・時期・反応を返す。発言の内容は持たない |
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 15 tools
Most tools have a distinct focus, but several clusters overlap: thth_queue, thth_board, and operations_handoff all list pending/inflight/type states, while before_you_post, after_you_posted, and analytics_report all return activity metrics with counts and periods. The descriptions clarify intent, but an agent could easily select the wrong tool without reading carefully.
Naming is inconsistent: some tools use the thth_ prefix and some do not, with no uniform convention. The style mixes nouns (thth_queue), verb phrases (thread_read), questions (who_is_this), and past-tense phrases (after_you_posted), making patterns unpredictable.
Fifteen tools is at the upper edge of a reasonable count, and each covers a specific read-only aspect of the posting workflow. A few could potentially be consolidated, but the count is not excessive for the apparent scope.
The surface covers the core read-only lifecycle: queue, preview, pre/post metrics, thread reading, topic context/evaluate/decision, linting, board status, handoff state, study/analytics reports, and contact history. There are no write/approve/sync tools, but the descriptions consistently mark those as intentional exclusions rather than dead ends.