We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MikeORed/catalog-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
query-result.ts•759 B
import { FieldName } from '../value-objects/field-name.js';
/**
* A single row in a query result
* Maps field names to their values
*/
export type QueryResultRow = Record<FieldName, string | number | boolean | null>;
/**
* Result of a dataset query
*/
export interface QueryResult {
/** The rows returned by the query */
rows: QueryResultRow[];
/** Total number of rows returned (after limiting) */
count: number;
/** Whether a limit was applied to the query */
limitApplied: boolean;
/** Whether the result was truncated due to limits */
truncated: boolean;
/** Total number of rows that matched the filter (before limiting) */
totalMatched: number;
/** The fields included in each row */
fields: FieldName[];
}