deckofcards
Server Details
Deck of Cards MCP — wraps deckofcardsapi.com (free, no auth)
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- pipeworx-io/mcp-deckofcards
- GitHub Stars
- 0
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.6/5 across 3 of 3 tools scored.
Each tool has a clearly distinct purpose: new_deck creates a deck, draw_cards draws from it, and shuffle_deck reshuffles it. There is no overlap or ambiguity in functionality, making tool selection straightforward for an agent.
All tools follow a consistent verb_noun naming pattern (new_deck, draw_cards, shuffle_deck). The naming is uniform and predictable, enhancing readability and usability.
With 3 tools, the count is appropriate for the simple domain of deck management. It covers the essential operations (create, draw, shuffle), though it could be considered slightly thin if more advanced features (e.g., partial shuffling or deck inspection) were expected.
The tool set provides complete lifecycle coverage for a deck of cards: creation, drawing, and reshuffling. There are no obvious gaps for the stated purpose, and agents can perform all core operations without dead ends.
Available Tools
3 toolsdraw_cardsAInspect
Draw one or more cards from an existing deck. Requires the deck_id returned by new_deck.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of cards to draw. Defaults to 1. | |
| deck_id | Yes | The deck ID returned by new_deck (e.g. "3p40paa87x90"). |
Tool Definition Quality
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 it mentions the prerequisite (deck_id from new_deck), it doesn't describe what happens during the draw operation (e.g., cards are removed from deck, potential for empty deck, return format, error conditions). This leaves significant behavioral gaps.
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?
Two sentences with zero waste. The first sentence states the purpose, the second provides essential usage guidance. Every word earns its place, and information is appropriately front-loaded.
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 mutation tool (drawing cards modifies deck state) with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns, what happens to the deck after drawing, or potential edge cases (drawing more cards than available). The prerequisite mention helps but doesn't compensate for these gaps.
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 100%, so the schema already fully documents both parameters. The description adds no additional parameter semantics beyond what's in the schema (e.g., no examples beyond the deck_id example already in schema). Baseline 3 is appropriate when schema does the heavy lifting.
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 specific action ('Draw one or more cards') and the resource ('from an existing deck'), distinguishing it from siblings like new_deck (creates deck) and shuffle_deck (reorders deck). It provides a complete verb+resource+scope statement.
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 explicitly states when to use this tool ('Requires the deck_id returned by new_deck'), providing clear context about prerequisites. However, it doesn't specify when NOT to use it or mention alternatives like shuffle_deck for different operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
new_deckAInspect
Create and shuffle a new deck (or multiple decks) of playing cards. Returns a deck_id for subsequent draws.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of standard 52-card decks to combine and shuffle. Defaults to 1. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses key behavioral traits: it creates and shuffles decks, returns a deck_id, and supports multiple decks via the count parameter. However, it lacks details on error conditions, rate limits, or whether the operation is idempotent, which would be helpful for a mutation tool.
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 appropriately sized and front-loaded, with two concise sentences that directly state the tool's action and outcome. Every sentence earns its place by covering creation, shuffling, deck count, and the return value without any waste.
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 moderate complexity (a mutation with one parameter) and no annotations or output schema, the description is mostly complete. It covers the purpose, usage, and key behavior, but could improve by addressing potential errors or the format of the returned deck_id to fully compensate for the lack of structured data.
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 100%, so the input schema already documents the count parameter fully. The description adds minimal value by mentioning 'multiple decks' which aligns with the schema, but does not provide additional semantics beyond what the schema specifies, such as constraints or usage examples.
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 with specific verbs ('create and shuffle') and resource ('new deck of playing cards'), and distinguishes it from sibling tools by mentioning it returns a deck_id for subsequent draws, which implies it's the initial deck creation tool versus draw_cards and shuffle_deck.
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 clear context for when to use this tool (to create and shuffle a new deck) and implicitly suggests alternatives by mentioning deck_id for subsequent draws, but does not explicitly state when not to use it or name specific alternatives like shuffle_deck for existing decks.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
shuffle_deckBInspect
Shuffle (or re-shuffle) an existing deck, returning all drawn cards back into it.
| Name | Required | Description | Default |
|---|---|---|---|
| deck_id | Yes | The deck ID to shuffle (e.g. "3p40paa87x90"). |
Tool Definition Quality
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 shuffles a deck and returns drawn cards, which implies a mutation (reshuffling) and a resetting effect. However, it doesn't disclose key behavioral traits such as whether this requires specific permissions, if the shuffle is random or deterministic, what happens to the deck state (e.g., order changes), or any rate limits. For a mutation tool with zero annotation coverage, 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 appropriately sized and front-loaded, consisting of a single, efficient sentence: 'Shuffle (or re-shuffle) an existing deck, returning all drawn cards back into it.' Every word earns its place by conveying the action, target, and effect without redundancy or unnecessary detail.
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 complexity (a mutation operation with no annotations and no output schema), the description is partially complete. It covers the basic purpose and effect but lacks details on behavioral aspects (e.g., permissions, shuffle randomness) and output (since no output schema exists). For a tool that modifies state, this leaves gaps in understanding how it behaves and what it returns, making it adequate but with clear room for improvement.
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 100% description coverage, with the 'deck_id' parameter fully documented in the schema. The description does not add any meaning beyond what the schema provides (e.g., it doesn't explain the format of 'deck_id' further or provide usage examples). Since schema coverage is high, the baseline score is 3, as the description doesn't compensate but also doesn't detract.
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: 'Shuffle (or re-shuffle) an existing deck, returning all drawn cards back into it.' It specifies the verb ('shuffle') and resource ('an existing deck'), and distinguishes it from siblings by mentioning 'returning all drawn cards back into it,' which implies a resetting action not present in 'draw_cards' or 'new_deck.' However, it doesn't explicitly differentiate from 'new_deck' in terms of creating vs. modifying, 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 implies usage by specifying 'an existing deck,' suggesting it should be used on decks already created (likely via 'new_deck'), and 'returning all drawn cards back into it' hints it's useful after drawing cards (via 'draw_cards'). However, it lacks explicit guidance on when to use this tool versus alternatives (e.g., 'new_deck' for a fresh shuffle or 'draw_cards' for drawing without shuffling), and no exclusions or prerequisites are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!