Skip to main content
Glama

create_view

Generates a database view in CockroachDB by defining a view name and SQL query, enabling streamlined data access and management for agentic applications.

Instructions

Create a view from a specific query.

Args: view_name (str): Name of the view. query (str): SQL query for the view definition.

Returns: A success message or an error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
view_nameYes

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/amineelkouhen/mcp-cockroach'

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