lawful_check
Screen a task for unlawful-adjacent elements.
Returns tier (CLEAR/FLAGGED/BLOCKED), categories, reasoning, and disclaimer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| description | Yes |
Screen a task for unlawful-adjacent elements.
Returns tier (CLEAR/FLAGGED/BLOCKED), categories, reasoning, and disclaimer.
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| description | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full burden. It does usefully disclose the response shape (tier CLEAR/FLAGGED/BLOCKED, categories, reasoning, disclaimer), which is valuable given there is no output schema, but it says nothing about whether a FLAGGED/BLOCKED result actually halts execution, permission requirements, or side effects. Partial disclosure only.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the action and scope, followed by the return shape. No filler, no repetition of the tool name or title.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The output preview compensates for the missing output schema, but with no annotations and no schema descriptions for any parameter, the definition leaves the agent guessing about the required agent_id and any permission or blocking behavior. Adequate but with clear gaps for a 2-required-param tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Two required parameters (description, agent_id) with 0% schema description coverage, and the description explains neither. 'A task' loosely maps to the description parameter, but agent_id is completely unexplained and there is no hint about expected format, length, or how agent_id affects the check.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource ('Screen a task') and names the scope ('unlawful-adjacent elements'), so an agent can immediately tell this is a legality/policy screening tool. It does not need to be distinguished from its siblings (budget_enforce, identity_register, request_approval) because the domains are obviously disjoint, but it also does not explicitly do so.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied ('screen a task' before acting), but there is no explicit statement of when to call it versus alternatives such as request_approval, nor any exclusion or ordering guidance. An agent must infer the call site from the verb alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.