Skip to main content
Glama

Get cardSubscription

codecks_get_card_subscription
Read-onlyIdempotent

Retrieve a single card subscription by ID, optionally selecting fields and expanding related account, card, or user data for targeted lookups.

Instructions

Get a single cardSubscription by ID with optional field selection.

Available fields: createdAt Relations: account, card, user

Example selection: ["createdAt"]

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": {
      "id": "<id>"
    },
    "name": "codecks_get_card_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesModel ID
selectionNoSelection array (fields/relations)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
include_relationsNoAttempt safe first-level relation expansion with guarded fallback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds nothing beyond that: no error behavior for a missing ID, no note on how omitted selections are handled, no return shape. It does at least enumerate the selectable fields and relations.

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?

The purpose is front-loaded in the first sentence, followed by compact field/relation lists and one example. Slightly list-like and repetitive in format, but no sentence is filler.

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?

With no output schema, the description should say what a cardSubscription actually represents and roughly what a response looks like; it only lists one field and three relations. For a 4-parameter read tool with an unusual selection mechanism, this is adequate but leaves an agent guessing at the return payload.

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?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning the schema lacks by naming the concrete available field ('createdAt') and relations ('account, card, user') plus a worked selection example. That converts a generic 'Selection array (fields/relations)' into something an agent can act on.

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 states a specific verb and resource ('Get a single cardSubscription by ID') and the word 'single' distinguishes it from the list sibling codecks_list_card_subscription. It never names that sibling explicitly, so the differentiation is implied rather than stated.

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?

Usage is only implied: fetching one requires an ID, whereas the sibling list tool would be used otherwise. There is no explicit when-to-use/when-not guidance, no mention of prerequisites such as permissions, and no pointer to codecks_subscribe_card or codecks_unsubscribe_card for mutation.

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

Deploy Server

Other Tools