Skip to main content
Glama
mcp-google-sheets

mcp-google-sheets

by HofJon26

Find rows

find_rows
Read-only

Searches rows in a sheet tab by a column header and query, returning case-insensitive matches with their real row numbers.

Instructions

Rows in a tab whose column (by header name in row 1) contains the query, case-insensitive. Returns each match with its real row number.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spreadsheetId": "<spreadsheetId>",
      "sheet": "<sheet>",
      "column": "<column>",
      "query": "<query>"
    },
    "name": "find_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
sheetYesTab name, e.g. "Customers"
columnYesHeader text of the column to search
spreadsheetIdYesThe ID from the sheet URL: docs.google.com/spreadsheets/d/<ID>/edit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: matching is substring containment, case-insensitive, the column is resolved by header text assumed to live in row 1, and results carry their true row numbers. It does not disclose truncation behavior despite a limit default of 25.

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?

Two tightly written sentences with zero filler, front-loading the operation and following with the return shape. Every clause carries information an agent needs.

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?

No output schema exists, and the description steps in to state what is returned (each match plus its real row number), which is the key missing piece. The remaining gap is pagination/truncation: nothing says what happens when matches exceed the default limit of 25.

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 60% schema coverage, the description usefully compensates for the two most semantically ambiguous parameters: 'column' is clarified as header text found in row 1 (not an index or letter), and 'query' is clarified as a case-insensitive containment match rather than exact equality. 'limit' remains unexplained, but the added meaning is substantial.

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 gives a concrete operation on a specific resource: find rows in a tab where a named column contains a query, case-insensitive. That is clear enough to separate it from read_range (bulk read) and list_sheets (enumerate tabs), though it does not name those siblings explicitly.

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?

Usage is only implied by the semantics of 'contains the query' – an agent can infer this is a lookup rather than a full read. There is no explicit statement of when to prefer this over read_range, and no exclusions or prerequisites (e.g. that row 1 must be a header row).

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

Deploy Server

Other Tools