Skip to main content
Glama
Unsafe MCP Server

Unsafe MCP Server

by tuandinh0801

rate_joke

Submit a 1–5 rating for a joke so future joke recommendations better match your preferences.

Instructions

Rate a joke from 1-5 to improve future recommendations.

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": {
      "rating": "<rating>"
    },
    "name": "rate_joke"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingYesRating from 1 (terrible) to 5 (hilarious)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real behavioral context by revealing the downstream effect (ratings feed future recommendations), but it omits whether a rating overwrites a previous one, whether it is tied to the most recently fetched joke, and any permission or state requirements for this mutation.

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?

One short sentence with the action and scale front-loaded and no filler. It is slightly under-specified rather than over-long, which costs it a point here only because the terse phrasing leaves the target joke implicit.

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?

For a one-parameter tool with no output schema the description is close to sufficient, and the stated recommendation benefit covers the return-value side. The missing piece is how the rated joke is identified, which matters because that is the one thing an agent could get wrong.

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 coverage is 100% and the single parameter already documents the 1-5 range with endpoint meanings ('terrible' to 'hilarious'). The description's '1-5' restates schema content and adds no new semantics, so the baseline of 3 applies.

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?

Specific verb ('Rate') plus resource ('a joke') with an explicit scale (1-5), which clearly distinguishes it from read-oriented siblings like get_dad_joke and search_jokes. The one gap is that it never says which joke is being rated, since the schema has no joke identifier.

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 phrase 'to improve future recommendations' implies why you would call it, which is useful intent. There is no explicit when-to-use, no prerequisites, and no statement about whether a joke must first be retrieved or whether re-rating is allowed.

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