Skip to main content
Glama

List rejected Google Sheets rows

list_sheet_matching_rejected_rows
Read-only

List Rejected Rows

When to use: 마지막 미리보기에서 반영 예정에서 빠진 시트 행과 그 사유를 볼 때 — 어느 행을 어떻게 고쳐야 하는지 안내하는 데 쓴다.

Limitations: 마지막 미리보기의 결과만 있다(미리보기마다 교체). 행마다 사람이 읽을 message 와 사유 코드 reason 이 온다. reason: REQUIRED_FIELD_MISSING(필수 값이 빔) · VALUE_TOO_LONG(값이 너무 김) · ITEM_QTY_INVALID(수량이 0 이상 정수가 아님) · DUPLICATE_ROW(다른 행과 같은 옵션·기초상품) · OPTION_NOT_FOUND(주문 데이터에 없는 옵션) · NOT_REGISTERED(등록되지 않은 기초상품) · NAME_MISMATCH(기초 상품명이 등록된 이름과 다름, metadata.registered_item_name 에 등록된 이름) · OPTION_EXCLUDED_BY_SIBLING(같은 옵션의 다른 행이 빠져 함께 제외, metadata.caused_by_row 가 원인 행) · CELL_PENDING(계산 중이거나 오류인 셀, metadata.fields — 탈락이 아니라 보류라 지금 반영분 유지) · OPTION_HELD_BY_SIBLING(metadata.caused_by_row 의 셀이 계산 중이라 같은 옵션 전체 보류). page_size 기본 50, 최대 1000. data_management:read 권한 필요.

Examples:

  • Q: 시트 매칭에서 반영 안 된 행과 이유 알려줘 params: {'path': {'data_id': 1}, 'query': {'page_size': 100}}

Output shape: object: {rejected_rows[{sheet_row, reason, metadata, message, …}], next_page_token, total_size}

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": {
      "data_id": "<data_id>"
    },
    "name": "list_sheet_matching_rejected_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_idYes
page_sizeNo
page_tokenNo
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the read-only/false-destructive annotations, it discloses that results are replaced on every preview run, requires the data_management:read permission, defaults page_size to 50 with a 1000 cap, and explains every reason code plus which metadata fields accompany each. That is the kind of operational detail annotations cannot carry.

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?

Front-loaded with label-style sections (When to use, Limitations, Examples, Output shape) and no filler sentences. The long reason-code enumeration is verbose but each entry carries distinct decision-relevant meaning; the mixed Korean/English phrasing and a redundant output-shape block are the only costs.

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?

For a moderately complex read tool, the definition covers scope, permissions, pagination limits, reason semantics, and an example call; an output schema exists, so restating the shape is harmless redundancy. The only missing pieces an agent needs are the meaning of page_token and project-id.

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 0%, and the description compensates only partially: it documents page_size bounds and shows data_id in the example payload, but page_token (pagination continuation) and project-id are never explained. Real meaning is added for two of four parameters, leaving meaningful gaps.

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 states a concrete verb and resource (list rejected sheet rows from the last preview) and even pins the scope to '마지막 미리보기' results, so an agent knows exactly what dataset is returned. It never names a sibling such as list_sheet_matching_changes or preview_sheet_matching to disambiguate, so it stops short of a 5.

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

Usage Guidelines4/5

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

A dedicated 'When to use' line gives a clear trigger (seeing which rows dropped out of the last preview and why, to guide fixes), and the limitation that only the most recent preview is available tells the agent when the data is stale. There is no explicit 'use X instead' routing against sibling tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources