Skip to main content
Glama
bpamiri

u2-mcp

by bpamiri

get_select_list

Execute a SELECT or SSELECT query to retrieve a list of record IDs from a U2 database for further processing without fetching full records.

Instructions

Execute a SELECT statement and return the list of record IDs.

This is useful for getting a list of matching records for further processing, without retrieving the full record data.

Args: query: SELECT or SSELECT statement Example: 'SELECT CUSTOMERS WITH STATE = "CA"' max_ids: Maximum IDs to return (optional, defaults to U2_MAX_RECORDS)

Returns: Dictionary containing query, list of record IDs, count, and whether results were truncated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
max_idsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are present, so the description carries the burden. It discloses the return structure (dictionary with query, IDs, count, truncation flag) and implies a read-only operation (SELECT), but does not explicitly confirm safety or mention edge cases like large result handling.

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 is front-loaded with the purpose and structured into two paragraphs. It is concise but could integrate the Args section more elegantly into the main text to reduce redundancy.

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

Completeness4/5

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

Given the output schema exists (confirmed in context signals), the description adequately explains the return dictionary. With only two parameters and clear documentation, it is mostly complete, though it lacks explicit differentiation from siblings like 'execute_query' or 'read_records'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates well by specifying that 'query' expects a SELECT/SSELECT statement with an example and that 'max_ids' is optional with a default of U2_MAX_RECORDS. This adds meaningful context beyond the schema types.

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?

The description clearly states it executes a SELECT statement and returns record IDs, distinguishing it from tools that return full record data. However, it does not explicitly name sibling alternatives, making it slightly less than excellent.

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

Usage Guidelines3/5

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

The description implies usage for further processing ('useful for getting a list of matching records for further processing'), but lacks explicit guidance on when to use versus alternatives or any exclusions.

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/bpamiri/u2-mcp'

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