Skip to main content
Glama

Is this door code easy to guess?

check_door_code
Read-onlyIdempotent

[Calculators] Is this door code easy to guess?. The door code page's checker: verdict is good, guessable (a weak pattern: a year, a date, doubled digits, a mirror, only two digits) or easy to guess (a top-10 code, one digit four times, a run, a repeated pair), with the reasons. Check a code BEFORE you set it - don't send the code that's on your door now. Ask for a code the user is THINKING of using, not the one on their door now.

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": {
      "code": "<code>"
    },
    "name": "check_door_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesA four-digit code to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, and the description adds real value by spelling out the three verdict buckets and their example patterns plus the presence of 'reasons'. It is still silent on the exact return shape (field names beyond verdict/reasons) and any rate or length constraints.

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

Conciseness3/5

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

The verdict taxonomy is genuinely useful and front-loaded, but the closing two sentences restate the same privacy caution twice and the parenthetical pattern list is dense with examples that could be trimmed.

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 carries the return-value burden and mostly meets it by defining the verdict values and noting the accompanying 'reasons'. For a single-parameter read-only checker, that plus the safety warning covers what an agent needs to call it correctly.

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 description coverage is 100% with a single documented parameter, so the baseline applies. The description reinforces that a candidate (not current) code is expected, but it adds no format or syntax detail beyond the schema, and its 'four-digit' framing is not reconciled with the schema's 4-8 character range.

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 names a specific verb and resource ('check' a 'door code') and immediately distinguishes itself from code-generation/rules siblings by being 'the door code page's checker' that returns a good/guessable/easy-to-guess verdict.

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?

It gives explicit when-to-use guidance ('Check a code BEFORE you set it') plus a clear negative constraint ('don't send the code that's on your door now', 'ask for a code the user is THINKING of using'). It stops short of naming a concrete alternative sibling such as generate_door_code for the case where the user wants a fresh code.

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