Skip to main content
Glama
Unsafe MCP Server

Unsafe MCP Server

by tuandinh0801

get_joke_categories

Browse available joke categories and auto-detect the best category for a user, helping select an appropriate joke before retrieval.

Instructions

Browse available joke categories. Can auto-detect the best category for the user.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it falls short. It never says whether the call is read-only (safe to assume, but unstated), what the categories look like (names, IDs, hierarchy), or what 'auto-detect' actually does—whether it changes the response based on user history. That ambiguity is a real gap for an agent deciding whether to call it.

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 first sentence is tight and front-loaded, but the second sentence is vague enough that it doesn't earn its space—it raises the 'auto-detect' behavior without explaining it. Two short sentences with one of them adding uncertainty rather than clarity caps this at 3.

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?

This is a simple zero-parameter tool, but with no output schema and no annotations the description is the only source of information about results, and it says nothing about the shape of the returned categories or the auto-detection behavior. It is adequate to know roughly what the tool does, but not enough to predict its output.

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?

The schema declares zero parameters, so there is nothing for the description to compensate for; baseline 4 applies. No parameter-level information is needed or missing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb and resource ('Browse available joke categories'), making the tool's function unambiguous. It does not, however, distinguish this from siblings such as search_jokes, which also surface joke content by category or keyword.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no reference to any of the sibling tools. The line 'Can auto-detect the best category for the user' hints at a capability but never states the condition under which an agent should prefer this tool over search_jokes or get_dad_joke.

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