ToolmarkCheck a package

Behaviour report · published

version 0.3.1 | run 2026-11-20

@discourse/mcp

Recorded by Toolmark on 2026-11-20. Version 0.3.1. Run 2026-11-20. A behaviour report, not a rating or an endorsement.

Tools declared
16
Called
16
Not called
0
Checks passed
15
Checks failed
0
To review
2

Not a rating; there is no score. Not tested is never counted against a tool.

To review (2)

Things a person should look at. Not failures.

  • Tools with no safety hints at all, so an agent cannot tell from the list which tools only readdiscourse_select_site
  • idempotentHint is set on read-only tools; the MCP spec says it only applies when readOnlyHint is false (harmless noise)discourse_search, discourse_filter_topics, discourse_read_topic, discourse_read_post, discourse_read_topic_posts, discourse_search_posts, discourse_get_user, discourse_list_user_posts, discourse_list_users, discourse_get_chat_messages, discourse_get_draft, discourse_get_query, discourse_run_query, discourse_list_private_messages, discourse_read_private_message

Declared and observed

What each tool says about itself, next to what happened when we called it.

Declared
Observed
discourse_select_site
Validate and select a Discourse site. Returns JSON with site URL and title. No hints.
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to select site: Network error for GET https://example.com/about.json: fetch failed. Possible causes: DNS resolution failure, network connectivity issue, SSL/TLS error, or server unrea
review item
discourse_search
Search site content. Returns JSON object with results array of matching topics (id, slug, title) and meta (total, has_more). destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): No site selected. Call discourse_select_site first.
passed: reports a failure when it cannot reach its service
review item
discourse_filter_topics
Discover topics through a filtered, top, or hot view. Filtered uses Discourse TopicsFilter syntax; top uses Discourse's authoritative top score and defaults to weekly; hot is defined exactly as daily top (not sentiment, controversy, or real-time velocity). Returns a uniform rich topic projection and truthful pagination metadata. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Validation failed","issues":[{"path":"filter","message":"A nonblank filter is required for the filtered view"}]}
passed: reports a failure when it cannot reach its service
review item
discourse_read_topic
Read topic metadata and posts. Large post limits can require multiple upstream requests. For moderation queues, prefer reviewable list/detail evidence instead of fanning this tool out across flagged topics. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to read topic 1: No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_read_post
Read a specific post. Returns JSON with id, topic_id, post_number, username, created_at, and raw content. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to read post 1: No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_read_topic_posts
Read exact, earliest, latest, around-post, or username-filtered topic evidence. Selection is bounded to 50 posts and reports the visible stream size without claiming the entire topic was loaded. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to read posts for topic 1: No site selected. Call discourse_select_site first.","code":"request_failed"}
passed: reports a failure when it cannot reach its service
review item
discourse_search_posts
Search post-level evidence with Discourse query syntax. Unlike discourse_search, this preserves matched posts, highlighted blurbs, authors, topics, categories, and truthful bounded continuation. This is keyword search, not Discourse AI semantic search. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Post search failed: No site selected. Call discourse_select_site first.","code":"request_failed"}
passed: reports a failure when it cannot reach its service
review item
discourse_get_user
Get user info. Returns JSON with id, username, name, trust_level, created_at, bio, admin, and moderator. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to get user toolmark-synthetic-test: No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_list_user_posts
Get paginated list of user posts/replies. Returns JSON object with posts array (id, topic_id, post_number, slug, title, created_at, excerpt, category_id) and meta (page, limit, has_more). destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to get posts for toolmark-synthetic-test: No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_list_users
List users via admin API. Requires admin API key. Returns ~100 users per page (Discourse's fixed page size). Returns JSON with users array and pagination meta. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_get_chat_messages
Get messages from a chat channel. Returns JSON object with channel_id, messages array (id, username, created_at, message, edited, thread_id, in_reply_to_id), and meta. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to get chat messages: No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_get_draft
Retrieve a specific draft by key. Returns JSON with draft_key, sequence, and parsed data (title, reply, categoryId, tags, action). destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"Failed to get draft: No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_get_query
Get full details of a Data Explorer query including SQL and parameters. Requires admin API key. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_run_query
Execute a Data Explorer query with parameters. Returns columns, rows, result_count, duration_ms. Queries run in read-only transactions with 10-second timeout. Requires admin API key. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_list_private_messages
List authenticated personal or group private-message mailboxes. Returns normalized JSON messages and pagination metadata. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item
discourse_read_private_message
Read an authenticated private message, its posts, and direct allowed-user and allowed-group records. Rejects public topics. destructiveHint: False, idempotentHint: True, openWorldHint: True, readOnlyHint: True
tool returned an error for synthetic input (input may be invalid for the domain) · error text (untrusted): {"error":"No site selected. Call discourse_select_site first."}
passed: reports a failure when it cannot reach its service
review item

What the server did in the sandbox

0Programs it started or tried to startnone seen
0Network connections it tried, with the answer it gotnone seen
1Names it looked up(a lookup was attempted; the name was not seen)
0Key and secret files it tried to opennone seen
0Files it opened for writing outside the usual placesnone seen

Recorded with strace during this run, for the server and every process it started. The recorder runs inside the same sandbox as the tool, so a tool that targets it could hide from it; it covers the whole run, not each tool call.

Package facts
  • tool list size: 9975 bytes as JSON (names, descriptions and input schemas of 16 tools)
How this was tested
  • network check: DNS and TCP (IPv4 and IPv6) to the outside all failed before any call
  • Toolmark's synthetic fixture (files) was created in the data folder /fixture
  • Dependencies (96)@discourse/mcp@0.3.1, @hono/node-server@2.1.9, @modelcontextprotocol/sdk@1.30.0, accepts@2.0.0, ajv-formats@3.0.1, ajv@8.20.0, body-parser@2.4.0, bytes@3.1.2, call-bind-apply-helpers@1.0.2, call-bound@1.0.4, content-disposition@2.0.1, content-type@1.0.5, content-type@2.1.0, content-type@2.1.0, content-type@2.1.0, content-type@2.1.0, cookie-signature@1.2.2, cookie@0.7.2, cors@2.8.6, cross-spawn@7.0.6, debug@4.4.3, depd@2.0.0, dunder-proto@1.0.1, ee-first@1.1.1, encodeurl@2.0.3, es-define-property@1.0.1, es-errors@1.3.0, es-object-atoms@1.1.2, escape-html@1.0.3, etag@1.8.1, eventsource-parser@3.1.1, eventsource@3.0.7, express-rate-limit@8.7.5, express@5.3.0, fast-deep-equal@3.1.3, fast-uri@3.1.9, finalhandler@2.1.1, forwarded@0.2.0, fresh@2.0.0, function-bind@1.1.2, get-intrinsic@1.3.0, get-proto@1.0.1, gopd@1.2.0, has-symbols@1.1.0, hasown@2.0.4, hono@4.13.19, http-errors@2.0.1, iconv-lite@0.7.3, inherits@2.0.4, ip-address@10.7.6, ipaddr.js@1.9.1, is-promise@4.0.0, isexe@2.0.0, jose@6.2
    as claimed by the package metadata

Only the published package was run, at this exact version, in Toolmark's sandbox with no network and no secrets, with synthetic input; the provider's hosted service, if any, was not tested. base_image node:22-bookworm-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee, commit 5380e141b8da0eb1a9cb6bc9e40acffe1ce3fc4d, modal_sdk 1.6.4, python 3.12.16, rules cd1495ba013401ce, toolmark not installed