Marvel MCP
Marvel MCP 服务器
适用于Marvel 开发者 API的 MCP 服务器,支持与角色和漫画数据的交互。该项目的主要目标是展示如何使用 MCP 服务器与 API 进行交互。
注意:本 MCP 服务器使用的所有数据均取自Marvel 官方 API ,并归 Marvel 所有。本项目与 Marvel 没有任何关联。
🔧 功能
列出漫威人物:支持
nameStartsWith、limit、comics、series等过滤器。通过 ID 获取 Marvel 角色:使用
characterId获取任何角色的详细信息。获取特定角色的漫画:获取具有特定角色的漫画列表,并使用
format、dateRange等各种过滤器。基于工具的 MCP 集成:使用模型上下文协议 (MCP) 工具(VS Code、Claude 等)注册此服务器。
环境配置:使用
.env文件来管理环境变量,如MARVEL_PUBLIC_KEY、MARVEL_PRIVATE_KEY和MARVEL_API_BASE。
Related MCP server: MyAnimeList MCP Server
🧰 工具
1. get_characters
描述:使用可选过滤器获取 Marvel 角色。
输入:
name(可选字符串):完整的角色名称。nameStartsWith(可选字符串):名称以指定字符串开头的字符。modifiedSince(可选字符串):ISO 8601 日期字符串,用于过滤自该日期以来修改的字符。comics、series、events、stories(可选字符串):以逗号分隔的 ID 列表,用于按相关实体进行过滤。orderBy(可选字符串):对结果进行排序的字段,例如name或-modified。limit(可选数字):返回的最大结果数(1-100)。offset(可选数字):分页时要跳过的结果数。
返回:包含匹配字符的 JSON 响应。详情请参阅
src/schemas.ts中的CharacterDataWrapperSchema。
2. 通过 id get_character_by_id角色
描述:通过其唯一 ID 获取 Marvel 角色。
输入:
characterId(数字):角色的唯一 ID。
返回:包含角色详细信息的 JSON 响应。详情请参阅
src/schemas.ts中的CharacterDataWrapperSchema。
3. get_comics_for_character 📚🎭
描述:获取具有特定角色的漫画,带有可选过滤器。
输入:
characterId(数字):角色的唯一 ID。可选过滤器:
format、formatType(字符串):按漫画格式过滤(例如,comic、hardcover)。noVariants,hasDigitalIssue(布尔值):标志排除变体或仅包含数字问题。dateDescriptor(字符串):预定义日期范围,如thisWeek、nextWeek。dateRange(字符串):自定义日期范围,格式为YYYY-MM-DD,YYYY-MM-DD。title,titleStartsWith(字符串):按标题或标题前缀过滤。startYear、issueNumber、digitalId(数字):数字过滤器。diamondCode、upc、isbn、ean、issn(字符串):标识符过滤器。creators、series、events、stories、sharedAppearances、collaborators(字符串):相关实体 ID 的逗号分隔列表。orderBy(字符串):对结果进行排序的字段,例如title或-modified。limit,offset(数字):分页选项。
返回:包含指定角色漫画的 JSON 响应。详情请参阅
src/schemas.ts中的ComicDataWrapperSchema。
4. get_comics 📖🕵️♂️
描述:使用可选过滤器获取漫威漫画列表。
输入:
format(可选字符串):按发行格式进行过滤(例如,comic、digital comic、hardcover)。formatType(可选字符串):按问题格式类型(comic或collection)进行过滤。noVariants(可选布尔值):从结果集中排除变体(替代封面、二次印刷、导演剪辑等)。dateDescriptor(可选字符串):返回预定义日期范围内的漫画(lastWeek、thisWeek、nextWeek、thisMonth)。dateRange(可选字符串):返回自定义日期范围内的漫画。日期必须指定为YYYY-MM-DD,YYYY-MM-DD。title(可选字符串):仅返回标题与输入匹配的系列问题。titleStartsWith(可选字符串):仅返回标题以输入开头的系列问题。startYear(可选数字):仅返回开始年份与输入相匹配的系列问题。issueNumber(可选数字):仅返回问题编号与输入匹配的系列问题。diamondCode、digitalId、upc、isbn、ean、issn(可选字符串):按各种标识符进行过滤。hasDigitalIssue(可选布尔值):仅包含以数字形式提供的结果。modifiedSince(可选字符串):仅返回自指定日期以来修改过的漫画(ISO 8601 格式)。creators、characters、series、events、stories、sharedAppearances、collaborators(可选字符串):按相关实体过滤的 ID 的逗号分隔列表。orderBy(可选字符串):按一个或多个字段对结果集进行排序。在值后添加“-”可按降序排序(例如,title、-modified)。limit(可选数字):将结果集限制为指定数量的资源(默认值:20,最大值:100)。offset(可选数字):跳过结果集中指定数量的资源。
返回:包含匹配漫画的 JSON 响应。详情请参阅
src/schemas.ts中的ComicDataWrapperSchema。
5. get_comic_by_id
描述:通过唯一 ID 获取单个 Marvel 漫画。
输入:
comicId(数字):漫画的唯一 ID。
返回:包含漫画详情的 JSON 响应。详情请参阅
src/schemas.ts中的ComicDataWrapperSchema。
6. get_characters_for_comic 🦸♀️📖
描述:获取特定漫画中出现的漫威人物。
输入:
comicId(数字):漫画的唯一 ID。可选过滤器:
name(可选字符串):按全名过滤字符。nameStartsWith(可选字符串):过滤名称以指定字符串开头的字符。modifiedSince(可选字符串):ISO 8601 日期字符串,用于过滤自该日期以来修改的字符。series、events、stories(可选字符串):要过滤的相关实体 ID 的逗号分隔列表。orderBy(可选字符串):对结果进行排序的字段,例如name或-modified。limit(可选数字):返回的最大结果数(1-100)。offset(可选数字):分页时要跳过的结果数。
返回:包含指定漫画中出现的角色的 JSON 响应。详情请参阅
src/schemas.ts中的CharacterDataWrapperSchema。
🛠️ 设置
注册一个Marvel 开发者 API帐户并获取您的公钥和私钥 API 密钥。
如果您想直接在 MCP 主机中运行它,请跳至与 Claude Desktop 一起使用或与 GitHub Copilot 一起使用部分。
使用 MCP Inspector 在本地运行服务器
如果您想在本地运行 MCP Inspector 来测试服务器,请按照以下步骤操作:
克隆此存储库:
git clone https://github.com/DanWahlin/marvel-mcp将
.env.template重命名为.env。将您的 Marvel API 公钥和私钥添加到
.env文件。MARVEL_PUBLIC_KEY=YOUR_PUBLIC_KEY MARVEL_PRIVATE_KEY=YOUR_PRIVATE_KEY MARVEL_API_BASE=https://gateway.marvel.com/v1/public安装所需的依赖项并构建项目。
npm install npm run build(可选)要使用 MCP Inspector 试用服务器,请运行以下命令:
# Start the MCP Inspector npx @modelcontextprotocol/inspector node build/index.js访问浏览器控制台中显示的 MCP Inspector URL。将
Arguments更改为dist/index.js并选择Connect。选择List Tools查看可用的工具。
配置 MCP 主机
与 Claude Desktop 一起使用
将以下内容添加到您的claude_desktop_config.json中:
{
"mcpServers": {
"marvel-mcp": {
"type": "stdio",
"command": "npx",
// "command": "node",
"args": [
"-y",
"@codewithdan/marvel-mcp"
// "/PATH/TO/marvel-mcp/dist/index.js"
],
"env": {
"MARVEL_PUBLIC_KEY": "YOUR_PUBLIC_KEY",
"MARVEL_PRIVATE_KEY": "YOUR_PRIVATE_KEY",
"MARVEL_API_BASE": "https://gateway.marvel.com/v1/public"
}
}
}
}通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Marvel MCP 服务器:
npx -y @smithery/cli install @DanWahlin/marvel-mcp --client claude与 GitHub Copilot 一起使用
注意:如果您已经使用 Claude Desktop 启用了 MCP 服务器,请在 VS Code 设置中添加
chat.mcp.discovery.enabled: true,它将发现现有的 MCP 服务器列表。
将以下内容添加到您的settings.json文件中(请注意,如果您想要将其用于特定的 repo,也可以将其添加到.vscode/mcp.json文件中):
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "marvel-public-api-key",
"description": "Marvel public API Key",
"password": true
},
{
"type": "promptString",
"id": "marvel-private-api-key",
"description": "Marvel private API Key",
"password": true
}
],
"servers": {
"marvel-mcp": {
"command": "npx",
// "command": "node",
"args": [
"-y",
"@codewithdan/marvel-mcp"
// "/PATH/TO/marvel-mcp/dist/index.js"
],
"env": {
"MARVEL_PUBLIC_KEY": "${input:marvel-public-api-key}",
"MARVEL_PRIVATE_KEY": "${input:marvel-private-api-key}",
"MARVEL_API_BASE": "https://gateway.marvel.com/v1/public"
}
}
}
}使用 GitHub Copilot 中的工具
现在 mcp 服务器已可发现,打开 GitHub Copilot 并选择
Agent模式(而不是Ask或Edits)。选择 Copilot 聊天文本字段中的“刷新”按钮来刷新服务器列表。
选择“🛠️”按钮查看所有可能的工具,包括来自此 repo 的工具。
在聊天中提出一个自然会调用其中一种工具的问题,例如:
List 10 marvel characters. What comics is Wolverine in? Give me details about villains in the Marvel universe. Which characters appear in the Avengers comics? What characters are in the Hedge Knight II: Sworn Sword (2007) comic? List 10 characters from Ant-Man comics.注意:如果您看到“抱歉,响应已被负责任的 AI 服务过滤。”,请尝试再次运行它或重新措辞提示。
Available Tools
7 toolsgenerate_comics_htmlC
Create an HTML page displaying Marvel comics with their images
| Name | Required | Description | Default |
|---|---|---|---|
| characters | No | ||
| collaborators | No | ||
| creators | No | ||
| dateDescriptor | No | ||
| dateRange | No | ||
| diamondCode | No | ||
| digitalId | No | ||
| ean | No | ||
| events | No | ||
| format | No | ||
| formatType | No | ||
| hasDigitalIssue | No | ||
| isbn | No | ||
| issn | No | ||
| issueNumber | No | ||
| limit | No | Limit results (max 100) | |
| modifiedSince | No | ||
| noVariants | No | ||
| offset | No | ||
| orderBy | No | ||
| series | No | ||
| sharedAppearances | No | ||
| startYear | No | ||
| stories | No | ||
| title | No | Custom title for the HTML page | |
| titleStartsWith | No | ||
| upc | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While 'Create an HTML page' implies a write/generation operation, it doesn't specify whether this requires authentication, where the HTML is saved/displayed, whether it's a one-time generation or overwrites existing files, or what happens if parameters are invalid. For a tool with 27 parameters and no annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence that efficiently communicates the core purpose. There's no wasted language or unnecessary elaboration. It's appropriately sized for what it does convey.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 27 parameters, no annotations, no output schema, and minimal schema descriptions, the description is inadequate. It doesn't explain what the HTML output looks like, where it goes, how comics are selected/filtered, or provide any guidance on the numerous parameters. The description fails to address the complexity of the tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 7% (only 'limit' and 'title' have descriptions), leaving 25 parameters undocumented in the schema. The description mentions 'Marvel comics' which provides some context for the parameters, but doesn't explain what any specific parameters mean or how they filter the comics. It doesn't compensate for the poor schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Create an HTML page displaying Marvel comics with their images.' It specifies the action (create), resource (HTML page), and content (Marvel comics with images). However, it doesn't distinguish this from sibling tools like 'get_comics' which likely retrieve raw data rather than generate HTML output.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'get_comics' or explain that this tool is for presentation/formatting purposes rather than data retrieval. There's no context about prerequisites or when this tool would be preferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_character_by_idC
Fetch a Marvel character by ID
| Name | Required | Description | Default |
|---|---|---|---|
| characterId | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool fetches data, implying a read-only operation, but doesn't specify whether it requires authentication, has rate limits, returns errors for invalid IDs, or provides pagination details. For a tool with zero annotation coverage, this is insufficient behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with zero wasted words. It's appropriately sized for a simple lookup tool and front-loaded with the essential action and resource. Every word earns its place, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (1 parameter, no output schema, no annotations), the description is incomplete. It doesn't explain what data is returned (e.g., character details, comics list), error handling, or usage context relative to siblings. For a tool in a Marvel API context with multiple related tools, more guidance is needed to be fully helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 1 parameter with 0% description coverage, so the schema provides no semantic information. The description mentions 'by ID' but doesn't explain what a character ID is (e.g., numeric identifier, format, source). It adds minimal value beyond the schema, failing to compensate for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('fetch') and resource ('Marvel character by ID'), making the purpose understandable. It distinguishes from siblings like 'get_characters' (which likely fetches multiple characters) by specifying the single-ID lookup. However, it doesn't explicitly mention what data is returned about the character, which prevents a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose this over 'get_characters' (e.g., for a specific character vs. listing), nor does it address prerequisites like needing a valid character ID. This leaves the agent without contextual usage instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_charactersC
Fetch Marvel characters with optional filters
| Name | Required | Description | Default |
|---|---|---|---|
| comics | No | ||
| events | No | ||
| limit | No | ||
| modifiedSince | No | ||
| name | No | ||
| nameStartsWith | No | ||
| offset | No | ||
| orderBy | No | ||
| series | No | ||
| stories | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states 'Fetch' which implies a read operation, but doesn't disclose behavioral traits such as rate limits, authentication needs, pagination behavior (implied by limit/offset but not explained), or what happens with invalid filters. For a tool with 10 parameters and no annotations, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose. Every word earns its place, with no redundancy or unnecessary elaboration. It's appropriately sized for a basic tool description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (10 parameters, 0% schema coverage, no annotations, no output schema), the description is inadequate. It doesn't explain parameter meanings, return values, error handling, or usage context. For a filtering tool with many options, more detail is needed to be complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It only mentions 'optional filters' generically without explaining any of the 10 parameters (e.g., what 'comics', 'events', 'orderBy' mean). This adds minimal value beyond the schema, failing to address the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Fetch') and resource ('Marvel characters'), and mentions optional filtering. However, it doesn't explicitly differentiate from sibling tools like 'get_character_by_id' or 'get_characters_for_comic', which would require a 5. The purpose is clear but lacks sibling distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_character_by_id' or 'get_characters_for_comic'. It mentions optional filters but doesn't specify scenarios or exclusions. This leaves the agent without clear usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_characters_for_comicC
Fetch Marvel characters for a given comic
| Name | Required | Description | Default |
|---|---|---|---|
| comicId | Yes | ||
| events | No | ||
| limit | No | ||
| modifiedSince | No | ||
| name | No | ||
| nameStartsWith | No | ||
| offset | No | ||
| orderBy | No | ||
| series | No | ||
| stories | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states 'Fetch' (implying a read operation) but doesn't disclose behavioral traits like pagination (offset/limit parameters), rate limits, authentication needs, error conditions, or response format. The description adds minimal context beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise single sentence with zero waste. It's front-loaded with the core purpose and efficiently communicates the essential action and target.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (10 parameters, 1 required), lack of annotations, and no output schema, the description is incomplete. It doesn't address parameter usage, behavioral expectations, or return values, making it inadequate for a tool with this many undocumented parameters and no structured guidance.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate but doesn't. It mentions 'for a given comic' which hints at the required 'comicId', but doesn't explain the purpose of the other 9 parameters (e.g., 'events', 'modifiedSince', 'orderBy'). This leaves most parameters undocumented in both schema and description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Fetch') and target resource ('Marvel characters for a given comic'), distinguishing it from siblings like 'get_characters' (general character list) and 'get_comics_for_character' (reverse relationship). However, it doesn't specify the exact scope (e.g., all characters appearing in that comic vs. filtered subset).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives like 'get_characters' or 'get_character_by_id'. The description implies usage for comic-specific character queries but doesn't mention prerequisites, limitations, or comparative scenarios with sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_comic_by_idC
Fetch a single Marvel comic by ID
| Name | Required | Description | Default |
|---|---|---|---|
| comicId | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool fetches data, implying a read-only operation, but doesn't address critical aspects like authentication needs, rate limits, error handling, or what happens with invalid IDs. This leaves significant gaps in understanding how the tool behaves beyond its basic function.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise—a single sentence with no wasted words—and front-loads the key information ('Fetch a single Marvel comic by ID'). Every word earns its place, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, no output schema) and lack of annotations, the description is incomplete. It doesn't cover behavioral traits (e.g., error cases), parameter details, or output expectations, leaving the agent with insufficient context to use the tool effectively beyond its basic purpose.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 0%, but the description adds minimal semantic context by specifying that the parameter 'comicId' is used to fetch a single comic. However, it doesn't clarify the format (e.g., numeric ID), valid ranges, or examples, which is insufficient to fully compensate for the lack of schema documentation. The baseline is adjusted upward due to only one parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Fetch') and resource ('a single Marvel comic by ID'), making the purpose unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'get_comics' (which likely fetches multiple comics), leaving room for minor ambiguity about when to choose this specific tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_comics' or 'get_comics_for_character'. It lacks context about prerequisites (e.g., needing a valid comic ID) or exclusions, leaving the agent to infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_comicsC
Fetches lists of Marvel comics with optional filters
| Name | Required | Description | Default |
|---|---|---|---|
| characters | No | ||
| collaborators | No | ||
| creators | No | ||
| dateDescriptor | No | ||
| dateRange | No | ||
| diamondCode | No | ||
| digitalId | No | ||
| ean | No | ||
| events | No | ||
| format | No | ||
| formatType | No | ||
| hasDigitalIssue | No | ||
| isbn | No | ||
| issn | No | ||
| issueNumber | No | ||
| limit | No | ||
| modifiedSince | No | ||
| noVariants | No | ||
| offset | No | ||
| orderBy | No | ||
| series | No | ||
| sharedAppearances | No | ||
| startYear | No | ||
| stories | No | ||
| title | No | ||
| titleStartsWith | No | ||
| upc | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but only states it 'fetches' with 'optional filters.' It doesn't disclose whether this is a read-only operation, pagination behavior (despite limit/offset parameters), rate limits, authentication requirements, error conditions, or what the return format looks like (no output schema).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose. There's no wasted language or redundancy, making it appropriately concise for a tool with many parameters.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex tool with 27 parameters, no annotations, and no output schema, the description is severely incomplete. It doesn't explain the tool's behavior, parameter usage, return format, or how it relates to sibling tools, leaving critical gaps for an agent to understand and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 27 parameters and 0% schema description coverage, the description provides no parameter semantics beyond 'optional filters.' It doesn't explain what any parameter does, their formats (e.g., dateRange format), relationships, or default values. The description fails to compensate for the massive schema coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('fetches lists') and resource ('Marvel comics') with the scope of optional filtering. It distinguishes from siblings like 'get_comic_by_id' (single comic) and 'get_comics_for_character' (character-specific), but doesn't explicitly differentiate from other list tools like 'get_characters'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_comic_by_id' for single comics or 'get_comics_for_character' for character-specific comics. It mentions optional filters but doesn't explain when specific filters are appropriate or what the default behavior is.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_comics_for_characterC
Fetch Marvel comics filtered by character ID and optional filters
| Name | Required | Description | Default |
|---|---|---|---|
| characterId | Yes | ||
| collaborators | No | ||
| creators | No | ||
| dateDescriptor | No | ||
| dateRange | No | ||
| diamondCode | No | ||
| digitalId | No | ||
| ean | No | ||
| events | No | ||
| format | No | ||
| formatType | No | ||
| hasDigitalIssue | No | ||
| isbn | No | ||
| issn | No | ||
| issueNumber | No | ||
| limit | No | ||
| modifiedSince | No | ||
| noVariants | No | ||
| offset | No | ||
| orderBy | No | ||
| series | No | ||
| sharedAppearances | No | ||
| startYear | No | ||
| stories | No | ||
| title | No | ||
| titleStartsWith | No | ||
| upc | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but lacks behavioral details. It doesn't disclose whether this is a read-only operation, potential rate limits, authentication needs, pagination behavior (implied by 'limit' and 'offset' parameters but not explained), or what the response format looks like (no output schema). The description only states the basic filtering capability.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose. Every word earns its place—no redundancy or fluff. It's appropriately sized for a tool with many parameters but could benefit from additional explanatory sentences.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the high complexity (27 parameters, 0% schema coverage, no output schema, no annotations), the description is severely incomplete. It doesn't explain parameter usage, response format, error conditions, or behavioral constraints. For a tool with extensive filtering options, this minimal description leaves the agent guessing about implementation details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 27 parameters and 0% schema description coverage, the description fails to compensate for the massive documentation gap. It mentions 'optional filters' generically but doesn't explain any specific parameters (e.g., what 'dateDescriptor' or 'formatType' mean, how 'collaborators' should be formatted). The description adds minimal value beyond the schema's structure.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('fetch'), resource ('Marvel comics'), and primary filter ('by character ID'). It distinguishes from siblings like 'get_comics' (which likely lacks character filtering) and 'get_comic_by_id' (which fetches a single comic). However, it doesn't explicitly differentiate from 'get_characters_for_comic' (which has an inverse relationship).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'optional filters' but provides no guidance on when to use this tool versus alternatives. It doesn't specify when to choose this over 'get_comics' (for broader searches) or 'get_comic_by_id' (for single comic details), nor does it mention prerequisites like needing a character ID from 'get_character_by_id' first.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
7 tool updates
v1.0.0- First observed
generate_comics_html - First observed
get_character_by_id - First observed
get_characters - First observed
get_characters_for_comic - First observed
get_comic_by_id - First observed
get_comics - First observed
get_comics_for_character
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose targeting specific resources and actions: character vs. comic operations, with clear separation between fetching by ID, listing with filters, and cross-referencing relationships. No ambiguity exists between tools like get_characters and get_comics, or between get_character_by_id and get_characters.
All tools follow a consistent verb_noun pattern with snake_case, using 'get_' for fetch operations and 'generate_' for creation. The naming is predictable and readable, with clear patterns like get_character_by_id, get_characters, get_comics, and get_comics_for_character.
Seven tools is well-scoped for a Marvel API server, covering core operations for characters and comics without bloat. Each tool earns its place by providing distinct functionality, from basic fetches to cross-referencing and HTML generation, making it efficient for agent use.
The tool set covers essential read operations for characters and comics comprehensively, including filtering, cross-references, and HTML generation. A minor gap exists in lacking update/delete operations, but this is typical for an API wrapper focused on data retrieval, and agents can work around it for the domain.
Maintenance
Related MCP Connectors
- mcpOAuthcom.zomato
An MCP server that exposes functionalities to use Zomato's services.
Superhero MCP — wraps akabab.github.io/superhero-api (free, no auth)
Rick and Morty MCP — wraps the Rick and Morty API (free, no auth)
The official MCP Server for the Mux API
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn Azure Functions-based MCP server that enables interaction with Marvel characters and comics data through the official Marvel Developer API.1MIT
- AlicenseBqualityDmaintenanceMCP Server for interacting with the MyAnimeList API, allowing LLM clients to access and interact with anime, manga and more.154MIT
- MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for querying the Star Wars universe via the SWAPI API, providing access to characters, films, starships, vehicles, species, and planets.ISC