Skip to main content
Glama

ai_policy

Read-only

Company policy drafter — Draft a plain-language company or workplace policy (topic; optional company, audience, jurisdiction, notes with your rules, effective date) with standard sections (purpose, scope, definitions, policy, procedures, responsibilities, exceptions, enforcement, review) plus markdown. Offline checks: missing standard sections, absolute wording, vague terms, Flesch readability, and an employment-law review flag for sensitive topics (leave, harassment, monitoring, drugs, overtime, privacy, social media). Not legal advice. Price: $0.01 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic": "<topic>"
    },
    "name": "ai_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYese.g. remote work

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds substantial non-structured context: it runs offline checks (section completeness, absolute wording, vague terms, Flesch readability), raises an employment-law review flag for specified sensitive topics, disclaims 'Not legal advice', and states a price of $0.01 USDC on Base via x402. That cost and disclaimer information is exactly the kind of behavior an agent cannot get from annotations.

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?

The purpose is front-loaded before the section list, checks, disclaimer, and price, so an agent can stop reading early if needed. The middle sentence is a dense run-on of nine section names, but each element (sections, checks, disclaimer, price) carries distinct value.

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 the return shape (standard sections plus markdown) and the quality checks applied, plus cost and legal disclaimer. The one notable gap is the mismatch between advertised optional parameters and the actual one-parameter schema.

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?

Schema coverage is 100% for the single required 'topic' parameter, so the baseline is a 3 regardless. The description does add a usage example ('e.g. remote work') and notes 'notes with your rules', but it also advertises optional inputs ('company, audience, jurisdiction, effective date') that do not appear in the input schema, which could mislead an agent into passing unsupported fields.

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?

The description gives a specific verb and resource ('Draft a plain-language company or workplace policy') and enumerates the deliverable sections (purpose, scope, definitions, procedures, enforcement, review) plus markdown output. It clearly distinguishes a general workplace/HR policy from a narrow compliance artifact, though it never names a sibling to contrast with (e.g. ai_privacy_policy).

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

Usage Guidelines3/5

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

Usage is implied through topic examples and the list of sensitive topics that trigger an employment-law review flag, so an agent can infer this is for HR/workplace policy drafting. However, there is no explicit 'use this when...' or exclusion such as 'for privacy/data-protection policies use ai_privacy_policy instead', leaving the boundary with siblings to inference.

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