Skip to main content
Glama

Create Moderation

post_moderations

Classifies if text is potentially harmful. Group: Moderations. Billing per call: Credits: metered (~0.33 avg).

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": "post_moderations"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body. Example: {"model":"omni-moderation-latest","input":"Today is a wonderful day to build something people love!"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / description
      Previous value: -"JSON request body. Example: {\"model\":\"text-moderation-latest\",\"input\":\"Today is a wonderful day to build something people love!\"}"New value: +"JSON request body. Example: {\"model\":\"omni-moderation-latest\",\"input\":\"Today is a wonderful day to build something people love!\"}"
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly does not: it never says what the response contains (harm categories, flags, scores) or whether the call is read-only. The only genuinely added behavior is the billing note (metered, ~0.33 credits per call), which is useful but narrow.

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?

Three short fragments, front-loaded with the actual purpose. The 'Group:' and 'Billing:' metadata are terse and earn their place, though they read as catalog boilerplate rather than explanation.

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

Completeness2/5

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

There is no output schema and no annotations, so the description is the only place an agent could learn the return shape, and it says nothing about what a classification response looks like. For a moderation classifier, omitting the result structure is a substantive gap.

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

Parameters3/5

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

Single parameter with 100% schema coverage, and the schema already supplies a concrete body example with model and input fields. The description adds no additional meaning about the body structure, so the baseline of 3 applies.

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

Purpose4/5

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

"Classifies if text is potentially harmful" states a specific verb (classifies) and resource (text moderation), which separates it from the other post_* siblings such as embeddings or chat completions. It stops short of naming an alternative or scope boundary, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no statement of when to call this tool vs. alternatives, no prerequisite or model-selection guidance, and no note on limits or input constraints. The agent must infer usage entirely from the one-line purpose.

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