Skip to main content
Glama
Grinv

MAL MCP Server

Get a random manga

get_random_manga
Read-only

Discover a random manga with full details for reading suggestions. Use safe-mode filters to exclude adult or ecchi titles when browsing.

Instructions

Return one random manga (full details). Good for discovery / suggestions. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sfwNoIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanservice) through — use `sfw_strict` to also exclude those.
sfw_strictNoIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
rankNo
typeNo
scoreNo
titleNo
genresNo
mal_idYes
statusNo
themesNo
authorsNo
membersNo
volumesNo
chaptersNo
externalNo
moreinfoNo
synopsisNo
favoritesNo
image_urlNo
publishedNo
relationsNo
scored_byNo
backgroundNo
popularityNo
publishingNo
demographicsNo
title_englishNo
serializationsNo
title_japaneseNo
title_synonymsNo
explicit_genresNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed5 schema fields changedv0.10.0
    • addedOutput schema / properties / moreinfo
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / relations / items / properties / entries / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / relations / items / properties / entries / items / properties
      Added value: +{
      +  "mal_id": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "media_type": {
      +    "type": "string"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "type": {
      +    "type": "string"
      +  },
      +  "url": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / relations / items / properties / entries / items / required
      Added value: +[
      +  "mal_id"
      +]
    • changedOutput schema / properties / relations / items / properties / entries / items / type
      Previous value: -"string"New value: +"object"
  2. Changed29 schema fields changedv0.9.0
    • addedInput schema / properties / sfw
      Added value: +{
      +  "description": "If true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanservice) through — use `sfw_strict` to also exclude those.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / sfw_strict
      Added value: +{
      +  "description": "If true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / chapters / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / chapters / minimum
      Added value: +0
    • changedOutput schema / properties / chapters / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / explicit_genres
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / external
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / favorites / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / favorites / minimum
      Added value: +0
    • changedOutput schema / properties / favorites / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / mal_id / exclusiveMinimum
      Added value: +0
    • addedOutput schema / properties / mal_id / maximum
      Added value: +9007199254740991
    • changedOutput schema / properties / mal_id / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / members / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / members / minimum
      Added value: +0
    • changedOutput schema / properties / members / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / popularity / exclusiveMinimum
      Added value: +0
    • addedOutput schema / properties / popularity / maximum
      Added value: +9007199254740991
    • changedOutput schema / properties / popularity / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / rank / exclusiveMinimum
      Added value: +0
    • addedOutput schema / properties / rank / maximum
      Added value: +9007199254740991
    • changedOutput schema / properties / rank / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / scored_by / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / scored_by / minimum
      Added value: +0
    • changedOutput schema / properties / scored_by / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / title_synonyms
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / volumes / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / volumes / minimum
      Added value: +0
    • changedOutput schema / properties / volumes / type
      Previous value: -"number"New value: +"integer"
  3. Changed1 schema field changedv0.8.0
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed2 schema fields changedv0.7.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "authors": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "background": {
      +      "type": "string"
      +    },
      +    "chapters": {
      +      "type": "number"
      +    },
      +    "demographics": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "favorites": {
      +      "type": "number"
      +    },
      +    "genres": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "image_url": {
      +      "type": "string"
      +    },
      +    "mal_id": {
      +      "type": "number"
      +    },
      +    "members": {
      +      "type": "number"
      +    },
      +    "popularity": {
      +      "type": "number"
      +    },
      +    "published": {
      +      "type": "string"
      +    },
      +    "publishing": {
      +      "type": "boolean"
      +    },
      +    "rank": {
      +      "type": "number"
      +    },
      +    "relations": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "entries": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "relation": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "score": {
      +      "type": "number"
      +    },
      +    "scored_by": {
      +      "type": "number"
      +    },
      +    "serializations": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "synopsis": {
      +      "type": "string"
      +    },
      +    "themes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "title_english": {
      +      "type": "string"
      +    },
      +    "title_japanese": {
      +      "type": "string"
      +    },
      +    "type": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "volumes": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "mal_id"
      +  ],
      +  "type": "object"
      +}
  5. Addedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds useful behavior beyond the annotations: there is no official-API fallback and the tool always requires the Tenrai service to be reachable. This is meaningful operational detail for an agent to decide whether to rely on the call.

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 sentences with no filler: what the tool returns, when to use it, and an operational caveat. The most important information appears first, and every sentence contributes.

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

Completeness5/5

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

For a simple random-lookup tool with zero required parameters, an output schema, and fully documented optional parameters, the description is complete. It names the use case, clarifies discovery/suggestion purpose, and flags a real availability constraint that is not otherwise visible.

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%, and both parameters are already documented in the schema with rich semantics explaining sfw and sfw_strict. The tool description itself does not add parameter details, but it does not need to because the schema carries the full burden effectively.

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 and resource: 'Return one random manga (full details).' It clearly distinguishes this from sibling tools like get_random_anime, get_random_character, and get_random_person, and from get_manga/search_manga which require a specific target.

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?

The description states a clear use case: 'Good for discovery / suggestions.' It also gives practical operational guidance about reachability. It does not explicitly name alternatives or exclusion conditions, but the appropriate context is still clear for an agent deciding between random-pick and search-style tools.

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

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/Grinv/mal-mcp'

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