Skip to main content
Glama

find_duplicates

Identify duplicate rows in a table by checking specified columns or all columns, helping to clean and analyze data.

Instructions

Find duplicate rows in a table.

Args: table_name: Name of the table to check columns: Comma-separated column names to check for duplicates, or "all" for all columns

Returns: Information about duplicate rows found

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnsNoall
table_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 finding duplicates and returns 'Information about duplicate rows found,' lacking details on side effects, errors, performance, or behavior with empty tables.

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

Conciseness5/5

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

The description is extremely concise: a single-line summary followed by structured 'Args' and 'Returns' sections. Every sentence is necessary, and the format is easy to parse.

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?

Given the tool's simplicity and the presence of an output schema, the description covers the core functionality and parameters adequately. However, it lacks details on edge cases, error handling, or how duplicates are defined, which would improve completeness.

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?

Schema description coverage is 0%, so the description must compensate. It explains that 'columns' is a comma-separated list or 'all', and 'table_name' is the table to check. This adds meaningful semantics beyond the empty schema properties.

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 the tool's purpose: 'Find duplicate rows in a table.' It uses a specific verb-resource pair and is distinct from sibling tools like 'analyze_missing_data' or 'execute_sql_query'.

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 provides no guidance on when to use this tool versus alternatives, nor does it mention prerequisites, when not to use it, or trade-offs. It simply states the function without contextual usage advice.

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/Lasitha-Jayawardana/mcp-csv-database'

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