diff --git a/.sampo/changesets/mcp-conversation-id-wording.md b/.sampo/changesets/mcp-conversation-id-wording.md new file mode 100644 index 000000000..e84c83d08 --- /dev/null +++ b/.sampo/changesets/mcp-conversation-id-wording.md @@ -0,0 +1,5 @@ +--- +pypi/posthog: patch +--- + +The `conversation_id` tool argument's description no longer tells an agent to wait for an id before issuing parallel tool calls. Some requests never receive an id, such as calls that already carry a transport session, so an obedient agent serialized every call. The description now asks for the first call to run on its own, then to reuse any id it returned. diff --git a/posthog/mcp/constants.py b/posthog/mcp/constants.py index de359e693..12450832f 100644 --- a/posthog/mcp/constants.py +++ b/posthog/mcp/constants.py @@ -28,11 +28,11 @@ ) DEFAULT_CONVERSATION_ID_DESCRIPTION = ( - "Pass the exact conversation_id from the server's previous response, unchanged. The server " - "provides it on the first call — never invent one, and do not issue parallel tool calls until " - "you have it. Keep passing the same conversation_id for the rest of the conversation, including " - "after later user messages or on a different task; do not reset it when the user starts a new " - "request." + "If an earlier response from this server included a conversation_id, pass it here exactly as " + "given; never invent one. Make your first call to this server on its own and wait for its " + "response before issuing parallel tool calls, then reuse any conversation_id it returned. Keep " + "passing the same conversation_id for the rest of the conversation, including after later user " + "messages or on a different task; do not reset it when the user starts a new request." ) DEFAULT_MODEL_PARAMETER_DESCRIPTION = (