Skip to main content
Glama
LerianStudio

Lerian MCP Server

by LerianStudio

midaz-discover

Read-onlyIdempotent

Discover Midaz API resources and actions before executing. List, describe, search, and filter by component to find the correct resource, action, and required parameters.

Instructions

Discover Midaz API resources, actions, and schemas. Use this BEFORE calling midaz-execute to find the right resource+action and understand required parameters. Supports listing all resources, describing specific resources/actions, searching, and filtering by component.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch query for intent="search"
actionNoAction name (e.g. "create", "get", "list", "createInflow")
intentYesDiscovery intent: "list-resources" (all resources), "describe-resource" (details+actions for one resource), "describe-action" (full schema for resource+action), "search" (fuzzy search), "list-by-component" (resources in a component)
resourceNoResource name (e.g. "organizations", "transactions", "holders")
componentNoComponent filter for intent="list-by-component"
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds context about the discovery capabilities (listing, describing, searching, filtering) and emphasizes it is a pre-execution step, providing value beyond the structured annotations.

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 sentences, front-loaded with the primary purpose, and zero filler. All information is essential and directly supports agent decision-making.

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?

For a discovery tool with no output schema, the description sufficiently explains the types of actions it supports (listing, describing, searching, filtering) and its role in the workflow. It covers the main use cases and provides enough context to know what to expect.

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 all parameters are documented with their own descriptions. The description does not add extra semantics beyond the schema but reinforces the purpose of understanding required parameters. Baseline 3 is appropriate because the schema fully handles parameter meaning.

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?

Description clearly states it discovers Midaz API resources, actions, and schemas. It names the specific resource (Midaz API) and differentiates from the sibling tool midaz-execute, fulfilling the verb+resource+scope requirement.

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

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to use before midaz-execute to find the right resource+action and required parameters, clearly indicating when to use it. Also lists the supported intents (list, describe, search, filter), which helps distinguish from other discover tools for different APIs.

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/LerianStudio/lerian-mcp-server'

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