Skip to main content
Glama

execute_procedure

Execute a stored procedure in SQL Server by providing procedure name, schema, and parameters. Requires readwrite or admin access.

Instructions

Execute a stored procedure with parameters. Requires readwrite or admin security mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
procedureYesStored procedure name (without schema prefix)
schemaNoSchema name (default: dbo)
parametersNoKey-value pairs of parameter names and values (without @ prefix)
databaseNoDatabase name (uses connection default if omitted)
serverNoTarget server name (uses default if omitted)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only mentions security requirements but not side effects, return values, error handling, or what happens upon execution. For a stored procedure that may have side effects, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description consists of two clear sentences with no unnecessary words. It conveys the core purpose and a key requirement efficiently, though could be slightly more informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (5 parameters, no output schema, multiple siblings), the description lacks completeness. It does not explain return values, parameter use beyond schema, or how this tool fits with siblings like execute_query. The high schema coverage partially compensates, but overall context is thin.

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 coverage is 100%, and the input schema provides adequate descriptions for each parameter. The description adds no additional semantics beyond the schema, so baseline score 3 is appropriate.

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?

The description clearly states 'Execute a stored procedure with parameters', providing a specific verb (execute) and resource (stored procedure). This distinguishes it from sibling tools like execute_query (queries) and execute_mutation (mutations).

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

Usage Guidelines2/5

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

The description only mentions a security prerequisite ('requires readwrite or admin security mode') but provides no guidance on when to use this tool versus alternatives like execute_query or execute_mutation. No explicit context for selection.

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/gunvertugberk/mcp-sqlserver'

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