Skip to main content
Glama
codal-mcp

codal-mcp

by sepehr071

List Codal letter types

cd_letter_types
Read-onlyIdempotent

Lists Codal.ir letter groups or the letter types within a specified group, returning type IDs to use when searching letters.

Instructions

List codal.ir letter groups, or the letter types of one group with the ids cd_search_letters takes.

No argument: the 11 groups. With category: its types; use a type id as letter_type in cd_search_letters.

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

Input Schema

NameRequiredDescriptionDefault
categoryNoGroup code to list its letter types; omit to list the groups.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / category / description
      Previous value: -"Letter group code (1-11) to list its letter types; omit to list the groups."New value: +"Group code to list its letter types; omit to list the groups."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds useful scope detail by stating the no-argument result is exactly the 11 groups, but says nothing about pagination, response shape, or failure behavior when an invalid category is passed.

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?

Three short sentences with no filler, and the primary mode (no argument) is stated first. Each sentence carries distinct information: scope, branching, and downstream usage.

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 single-parameter, read-only lookup tool with no output schema, this covers what an agent needs to call it correctly in both modes. The one gap is that it never says what each returned entry contains (name/id fields), which matters because the description relies on the agent recognizing the `id`.

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 coverage is 100% and the `category` description already explains the omit-vs-supply behavior, so the baseline is 3. The description goes beyond the schema by explaining what the returned ids mean (they map to `letter_type` in cd_search_letters), adding genuine semantic value.

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 ("List codal.ir letter groups") and distinguishes the two modes of the tool. It also names the complementary sibling cd_search_letters, so an agent can tell it apart from a letter search tool without opening the schema.

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

Usage Guidelines5/5

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

Explicitly prescribes both invocation modes: no argument returns the 11 groups, and passing `category` returns that group's types. It further states the follow-up action (use a returned type `id` as `letter_type` in cd_search_letters), which routes the agent across the toolchain.

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