Skip to main content
Glama

list_programmable_objects

Retrieve stored procedures, functions, views, and triggers from a SQL Server database with schema details and timestamps. Filter by object types and schemas to explore database structure.

Instructions

List stored procedures, functions, views, and triggers in a database. Returns JSON with schema, name, type, and create/modify dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverNameYesServer name from list_servers
databaseNameYesDatabase name from list_databases
includeSchemasNoOptional comma-separated schemas to include (e.g. 'dbo,sales'). Overrides excludeSchemas.
excludeSchemasNoOptional comma-separated schemas to exclude (e.g. 'sys,INFORMATION_SCHEMA'). Ignored if includeSchemas set.
objectTypesNoOptional comma-separated object types to filter: PROCEDURE, FUNCTION, VIEW, TRIGGER

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/mbentham/sql-augur'

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