コンテンツにスキップ

MCP ツール

このページは、エンジンのバージョン 0.16.0 のコードから生成しています。リリースとリリースの間は main のコードを表示するため、次のバージョンの変更がすでに入っていることがあります。

Pointsman は /mcp で Model Context Protocol(MCP)を提供します。AI エージェントは自分で判断する代わりに、Pointsman のプロファイルに判定を頼めます。接続方法は MCP サーバーで説明しています。

コードから取り込んだ説明文は英語のままです。

List the decision profiles you can use: their questions, answer options and possible actions.

引数はありません。

Explain a decision profile in plain sentences: what the AI is asked, which facts and earlier decisions it uses, and each rule as “If …, the action is …”. Show the text to the person who approves the profile.

引数型必須説明
profilestringはいProfile id from list_profiles
lang“en” | “ja”いいえLanguage of the sentences (default en)
versionintegerいいえA published version (default: the latest)

Try a changed policy on the decisions already made: what the new rules would have decided on the last logged decisions of a profile version, with the logged answers and facts (no model is called). Returns how many actions would change, from what to what, how often they would match what a person answered, and the changed decisions. Only the policy may change; send questions, facts and requires too to check that they are the same.

引数型必須説明
profilestringはいProfile id from list_profiles
policyobjectはいThe new policy: { rules: [{ when, action }], default, people_check?, people_answers? }
versionintegerいいえThe published version to replay (default: the latest)
limitintegerいいえHow many of the newest decisions (default 200)
questionsarrayいいえThe draft’s questions, to check they did not change
factsarrayいいえThe draft’s facts, to check they did not change
requiresarrayいいえThe draft’s requires, to check they did not change

Ask a decision profile. Returns typed answers with probabilities and the action to take (for example “auto”, or “review” when a person should decide). Use list_profiles first. For profiles with input fields, send state as an object with those fields under the names the profile expects.

引数型必須説明
profilestringはいProfile id from list_profiles
statestring | objectはいWhat to decide about: text, or a JSON object
refstringいいえYour reference for this decision, for example an issue URL
decisionsobjectいいえFor profiles with requires: the decision_id of each earlier decision, by the name in requires. Needs ref.
idempotency_keystringいいえSend the same key again to get the same decision instead of a new one

Get a decision by id: answers, action, profile version, model, review status and feedback.

引数型必須説明
decision_idstringはいdecision_id returned by decide

Correct a decision: give the right answer for one or more of its questions. Recorded in your name and used to measure how often the profile is right.

OAuth でログインした人だけが使えます。API トークンでは使えません。

引数型必須説明
decision_idstringはいdecision_id returned by decide
correctobjectはいThe right answers, by question name, for example {“team”: “frontend”}
notestringいいえWhy, in a sentence

Geolonia のオープンソースプロジェクト · このサイトについて