Skip to main content
Glama

Read rules or moderation decisions

heystack_read_policy
Read-onlyIdempotent

Read the contribution rules or public moderation decisions. Read-only. surface rules (default) returns the active rules text; read it before publishing when the rules matter. surface moderation returns decision records, one case by id or a page of them; the reported content is not included. Do not use it to read a document or to report one (a report is a signed heystack_submit_contribution).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "heystack_read_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoOne moderation case id, for surface moderation. Omit to list a page.
pageNoPage of moderation decisions, starting at 1.
surfaceNorules (default) is the active contribution rules. moderation is public moderation decisions.rules

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the bar is lower; the description still adds real behavior context — that moderation results exclude the reported content, and that rules returns active rules text rather than a history. It does not say how the moderation page is bounded or ordered beyond the schema's page minimum/limit, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, then safety hint, then per-surface behavior, then exclusions. Dense with semicolons but every clause carries information; the only mild redundancy is repeating surface meanings already in the enum descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does the work of describing returns: active rules text for one surface, decision records (single or paged, without reported content) for the other. Enough for an agent to call correctly, though it does not describe the shape of a decision record.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds the relationship the schema leaves implicit: 'case' selects one decision and omitting it lists a page, tying the case and page parameters together. It also restates the default surface as rules with its meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and two named resources ('Read the contribution rules or public moderation decisions') and immediately disambiguates the 'surface' variants. It also rules out the two most likely sibling confusions (reading a document, submitting a report) by name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('read it before publishing when the rules matter') and explicit when-not ('Do not use it to read a document or to report one'), naming heystack_submit_contribution as the alternative for reporting. Both branches of the surface enum are given a condition for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources