Skip to main content
Glama

ScriptGrain

Set whether repeats are allowed

set_repeat_policy
Idempotent

Set whether similar content is allowed for a profile. 'avoid' (default): drafts are steered away from restating arguments earlier pieces already made and check_novelty flags repeats. 'allow': repeating the message is the point for this voice (a brand line, a campaign); drafts may restate established points and repeats are reported as information only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_idYes
repeat_policyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false, readOnly=false, and openWorld=false, so the safety profile is covered. The description adds genuinely non-structured behavior: the default value ('avoid') and the downstream effect on drafting and on how check_novelty reports repeats. It just doesn't describe what the call returns.

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 setting is front-loaded before the value semantics, and every clause carries information the schema lacks. It is somewhat dense in the second half but wastes no sentences.

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?

For a two-parameter, mutation-without-output-schema tool, the description covers purpose, default, and downstream behavior adequately. It omits only the return shape and any permission requirements, which is a minor gap given annotations signal an idempotent, non-destructive write.

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 description coverage is 0%, so the description must compensate. It does so for repeat_policy by spelling out the meaning and consequence of both enum members and flagging 'avoid' as the default. profile_id is left undescribed, though its purpose is self-evident from the format and name.

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 resource ('Set whether similar content is allowed for a profile'), with per-profile scope made explicit. It implicitly distinguishes itself from check_novelty, which the description names as the reporter rather than the setter of repeats.

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

Usage Guidelines4/5

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

Explains when each value is appropriate: 'avoid' steers drafts away from restating prior arguments, while 'allow' suits voices where repetition is the point (a brand line, a campaign). It does not explicitly state when not to use this tool or route the agent to alternatives, so it stops short of the top score.

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