Skip to main content
Glama

Check Prompt Language

sdnext_prompt_lang

Validates that a prompt uses only specified languages and alphabets, returning a confirmation or error.

Instructions

Check whether a prompt uses an allowed language/alphabet (SD.Next /sdapi/v1/prompt-lang).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoAllowed language code(s).eng
promptYesPrompt text to check.
alphabetNoAllowed alphabet(s).latn
Behavior2/5

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

No annotations are present, so the description carries the full transparency burden. It conveys that this is a check operation, implying read-only behavior, but it does not explain the return value, error behavior, or any side effects. This leaves important behavior undisclosed.

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

Conciseness5/5

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

The description is a single, front-loaded sentence that states the purpose and endpoint without filler. Every word contributes useful information.

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

Completeness3/5

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

The tool is simple and its parameters are well documented in the schema, but with no output schema or return-value explanation, an agent cannot know exactly what result to expect. The description is sufficient for tool selection but incomplete for fully understanding invocation outcomes.

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?

The input schema already describes all three parameters with 100% coverage, so the baseline is 3. The description adds no additional meaning to the parameters beyond mentioning 'language/alphabet', which is already reflected in the schema.

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?

The description uses a specific verb ('Check whether') and clearly identifies the resource: a prompt's language/alphabet. It also names the SD.Next endpoint, making the tool's function unambiguous and distinct from sibling tools like sdnext_prompt_banned.

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?

The description implies the tool is for validating prompt language/alphabet, but it does not explicitly state when to use it over alternatives or when not to use it. No usage context, prerequisites, or exclusions are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Congenital/sdnext_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server