Skip to main content
Glama
lzaafe-alt

lolosqltools

by lzaafe-alt

generate_access_request

Generates a formatted database access request email per BSG's mandatory format, grouping objects, validating permissions, and checking access-policy compliance.

Instructions

Generates a formatted database access request email following BSG's mandatory format. Groups objects by type, validates permissions, and checks compliance with BSG access policy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectsYesList of database objects requiring access
databaseNoTarget database nameintegraDB
solicitanteYesName of the person requesting access
project_areaYesProject or area associated with the access request
justificationYesTechnical justification for the access request

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful behavior: grouping objects by type, validating permissions, and checking BSG access policy compliance. However, it doesn't say whether it produces side effects (e.g., sends the email or only formats it), what the output looks like, or whether validation failures block generation.

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?

Single sentence, front-loaded with the primary action and followed by three concrete behavioral clauses. No wasted words, though the sentence packs several distinct claims that could be structured more clearly.

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

Completeness3/5

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

The description is adequate for a 5-parameter generation tool with full schema coverage and no output schema. However, with no annotations and no output schema, it should clarify whether the tool returns an email body, sends the email, or where the formatted request is delivered. The compliance-checking behavior hints at possible failure modes that are not elaborated.

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 description coverage is 100%, so every parameter is documented in the schema. The description adds no additional parameter semantics beyond what the schema already provides. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (generates a formatted database access request email) and adds behavioral scope (groups by type, validates permissions, checks compliance). It doesn't explicitly differentiate from siblings like generate_production_request or generate_template, which is a missed opportunity given the crowded sibling set.

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?

No when-to-use guidance is provided. The description says what the tool does but not when an agent should choose it over generate_production_request, generate_template, or the validation siblings. For a generation tool surrounded by similar-sounding generators, this is a real gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.