Skip to main content
Glama

Adicionar linhas à planilha

add_rows_to_sheet

Add rows to ONE specific enrichment sheet owned by the authenticated user, by its exact sheetId. People and company search results can be passed exactly as returned; nested objects become flat columns. Keys may be stable column ids, semantic keys such as fullName/companyDomain, exact renamed column labels, or new field names. New fields become referenceable columns; matching people/companies keep their existing values while empty cells are completed from the new payload. Unchanged duplicates are skipped. The result includes the exact ids and labeled values of every newly added row so they can be used immediately. Any sheet takes both people and companies: a row that names someone (name, e-mail or LinkedIn) is a person and joins their company; a row with only a company is a company without a person, and a company already there is completed, never repeated.

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": {
      "sheetId": "<sheetId>",
      "rows": "<rows>"
    },
    "name": "add_rows_to_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesOne to 25 people/company records to append, flat or as the people and company searches returned them.
sheetIdYesExact enrichment sheet UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / rows / description
      Previous value: -"One to 25 people/company records to append, flat or as search_people/search_companies returned them."New value: +"One to 25 people/company records to append, flat or as the people and company searches returned them."
    • changedInput schema / properties / sheetId / description
      Previous value: -"Exact enrichment sheet UUID returned by list_sheets."New value: +"Exact enrichment sheet UUID."
  2. Changed2 schema fields changed
    • changedInput schema / properties / rows / description
      Previous value: -"One to 25 flat people/company records to append."New value: +"One to 25 people/company records to append, flat or as search_people/search_companies returned them."
    • changedInput schema / properties / rows / items / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "type": [
      -      "string",
      -      "number",
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  {
      -    "items": {
      -      "type": [
      -        "string",
      -        "number",
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "type": [
      +      "string",
      +      "number",
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  {
      +    "items": {},
      +    "maxItems": 100,
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses the write semantics that matter: matching records keep existing values while empty cells are completed, unchanged duplicates are skipped, new fields become referenceable columns, and the response carries the ids and labeled values of every added row. It also implicitly bounds scope to the caller's own sheets, covering the auth dimension. The only mild tension is that "unchanged duplicates are skipped" reads partly idempotent while idempotentHint=false, but the skip is about duplicate records rather than repeated calls, so this is not a contradiction.

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?

Purpose and scope are front-loaded in sentence one, and most of the following sentences add non-redundant semantics. The middle sentences are dense with comma-separated alternatives and could be split for easier scanning, but no sentence is filler.

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

Completeness5/5

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

For a two-parameter mutation tool with full schema coverage, no output schema, and no nested objects, the definition covers everything an agent needs: target identification, accepted input shapes, merge/dedup behavior, and what the result contains. Nothing material is left to inference.

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

Parameters5/5

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

Schema coverage is 100%, but the schema for rows is intentionally loose (arbitrary objects with anyOf values), so the description carries real weight: it defines what key forms are accepted, explains that nested objects flatten into columns, and explains merge behavior per matched record. That is meaning the schema cannot express.

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 first sentence gives a specific verb and resource ("Add rows to ONE specific enrichment sheet") plus the scoping constraint (owned by the authenticated user, by exact sheetId). It is unambiguous about what gets written and where. It does not, however, differentiate itself from the closely named sibling add_enrichment_to_sheet, which an agent could easily confuse with this one.

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?

It gives concrete input guidance — search results may be passed verbatim, keys may be column ids, semantic keys, renamed labels, or new names — and a rule for classifying rows (a row naming a person is a person that joins their company; a company-only row is a company). What it lacks is any explicit when-to-use / when-not-to-use routing against alternatives such as add_enrichment_to_sheet.

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.