Skip to main content
Glama

getDayPassesTransaction

Read-only

Get one day passes transaction by transactionId. Get transactionId from getDayPassesTransactions. Never invent UUIDs; only use values from prior tool responses. amount is always positive and counted in whole day passes, so read type to tell an allocation from spending.

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": {
      "transactionId": "<transactionId>"
    },
    "name": "getDayPassesTransaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionIdYesThe id of the day passes transaction.

Output Schema

NameRequiredDescriptionDefault
transactionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly/non-destructive/closed-world, so the description is free to add data semantics instead: amount is always positive and denominated in whole day passes, and type is the field that distinguishes allocation from spending. That is real interpretive value not derivable from the annotations or schema.

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 tight sentences, front-loaded with purpose, then id sourcing, then a data-semantics caveat. No redundant restatement of the name or schema.

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

Completeness4/5

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

With only one fully documented parameter, annotations covering the safety profile, and an output schema handling return values, the description covers what an agent needs to call it correctly. It only omits failure behavior, e.g. what an unknown or deleted transactionId yields.

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% and describes transactionId as a UUID, so the baseline is 3; the description goes beyond it by stating that the value must originate from a prior tool response and must never be invented. That adds real usage meaning over the raw format constraint.

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?

Opens with a specific verb and singular resource ('Get one day passes transaction by transactionId'), which cleanly separates it from the sibling list tool getDayPassesTransactions. The defining identifier is named in the first clause, so an agent knows exactly what this retrieves.

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?

Explicitly routes the agent to getDayPassesTransactions as the source of the required id and forbids fabricating UUIDs — a clear precondition and alternative. It does not state when to prefer this over adjacent single-record tools such as getCreditsTransaction, but the single-vs-list split is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources