Skip to main content
Glama
Log-LogN

langfuse-mcp-java

list_models

list_models
Destructive

Retrieve a paginated list of all models in a Langfuse project, including Langfuse-managed and custom models with pricing and configuration details.

Instructions

Returns a paginated list of all models in the Langfuse project, including both Langfuse-managed models and custom models you have defined. Each model contains: id, modelName, matchPattern, unit, inputPrice, outputPrice, totalPrice, startDate, tokenizerId, isLangfuseManaged. Pagination: page is 1-based (default 1), limit controls page size (default 20).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYesPage number, 1-based. Omit to use default (1).
limitYesResults per page. Omit to use default (20).
Behavior1/5

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

CRITICAL CONTRADICTION: Description states 'Returns a paginated list' implying a safe read operation, but annotations declare 'destructiveHint: true' and 'readOnlyHint: false'. This is a severe inconsistency that would mislead an agent about the tool's safety profile and side effects.

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 logically sequenced sentences: (1) operation purpose, (2) returned fields (compensating for missing output schema), (3) pagination mechanics. No redundant words; field enumeration is necessary given no output schema. Front-loaded with the essential action and scope.

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?

Strongly compensates for missing output schema by enumerating all 10 returned fields. Covers pagination defaults and project scope. Only gap is missing contrast with 'get_model' for single-record retrieval, though this is implied by 'paginated list'.

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 has 100% description coverage ('Page number, 1-based' and 'Results per page'), establishing baseline 3. Description adds marginal semantic grouping under 'Pagination' header and reinforces '1-based' nature, but largely repeats schema information without adding syntax details or validation rules beyond what's structured.

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?

Excellent specificity: verb 'Returns' + resource 'models' + scope 'in the Langfuse project' + differentiation between 'Langfuse-managed' and 'custom' models. Clearly distinguishes from sibling 'get_model' by emphasizing 'paginated list' vs singular retrieval.

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?

Provides implied usage context through pagination documentation (page is 1-based, default limits), helping agents understand how to navigate results. However, lacks explicit guidance on when to use this versus 'get_model' or how to choose between listing and fetching specific resources.

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/Log-LogN/langfuse-mcp-java'

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