Skip to main content
Glama
zvika-finally

Marqeta DiVA API MCP Server

get_view_schema

Retrieve the schema definition for any view endpoint, including field names, data types, and descriptions, to understand the structure of data views like authorizations, settlements, or cards.

Instructions

Get the schema definition for any view endpoint. Returns field names, data types, and descriptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
view_nameYesName of the view (e.g., 'authorizations', 'settlements', 'cards')
aggregationNoAggregation level (if applicable)detail
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It states the return type (field names, data types, descriptions) but does not disclose potential errors, authentication needs, or rate limits. This is minimally adequate for a read-only schema endpoint.

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?

Two concise sentences with no extraneous information. The first sentence states the purpose, the second specifies return content. Every word earns its place.

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?

The description is brief but adequate for a simple schema retrieval tool. It lacks details on output format or constraints, but the tool's function is clear given the name and sibling context. Without output schema or annotations, more detail could improve completeness.

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?

The input schema has 100% coverage with descriptions for both parameters (view_name and aggregation). The description adds little beyond the schema, merely referencing 'any view endpoint'. Baseline score of 3 is appropriate given full schema documentation.

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 clearly states the verb 'Get', the resource 'schema definition for any view endpoint', and specifies output ('field names, data types, and descriptions'). It effectively distinguishes from sibling data retrieval tools like get_authorizations or get_cards.

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?

The description does not explicitly state when to use this tool versus alternatives. It implies usage for schema exploration, but lacks guidance on when not to use it or mention of alternative tools. Given the numerous sibling tools, more explicit context would be helpful.

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/zvika-finally/marqeta-diva-mcp'

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