Skip to main content
Glama

query_token

Retrieve card token information, including expiry and masked card number, by providing the token and optional IP address.

Instructions

Query card token information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesCard token to query
ip_addrNoIP address127.0.0.1
Behavior2/5

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

Without annotations, the description must disclose behavioral traits. It only states 'query' which implies read-only, but does not explicitly confirm idempotency, side effects, permissions, or rate limits. The description adds minimal value beyond the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence, but it is under-specified. While it is not verbose, it lacks necessary detail about the tool's behavior and parameters, making it barely adequate.

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

Completeness2/5

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

Given the lack of an output schema, the description should explain what information is returned. It does not, nor does it address how this tool complements or contrasts with siblings. The description is incomplete for a tool with two parameters and no output schema.

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%, so the baseline is 3. The description does not add any additional meaning beyond the schema's parameter descriptions (e.g., it does not explain how 'ip_addr' influences the query).

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 'Query card token information' uses a specific verb ('query') and clearly identifies the resource ('card token information'). It effectively distinguishes this tool from its siblings like 'create_token' and 'pay_with_token', which perform different operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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 does not state prerequisites, exclusions, or context for invocation, 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.

Install Server

Other Tools

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/theYahia/vnpay-mcp'

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