Skip to main content
Glama

Classify Row

classify_row
Read-onlyIdempotent

Cheap categorization: given a company and a list of candidate labels, decide which labels apply, the most common GTM/AI usage shape (tagging a list by industry, ICP fit, etc.), one small model call. Same evidence contract as research_row: each label comes back {label, applies, evidence_url, quote, status: found|inferred|not_established}, "found" only when the model's quote is independently verified as a verbatim substring of the text used. Pass text directly (cheapest, no fetch) or entity.domain to fetch the homepage once as a fallback. No text and no domain means every label is not_established with no model call made.

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": {
      "entity": "<entity>",
      "labels": "<labels>"
    },
    "name": "classify_row"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoText to classify directly (a description, a page you already fetched, etc.), cheapest path, skips any fetch.
entityYesThe row/company to classify. At least one of name/domain required.
labelsYesCandidate labels to test, 2-30 strings, e.g. ["healthcare","fintech","logistics"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "entity": {
      -      "domain": "stripe.com",
      -      "name": "Stripe"
      -    },
      -    "labels": [
      -      "healthcare",
      -      "fintech",
      -      "logistics"
      -    ]
      -  }
      -]
    • changedInput schema / properties / entity / properties / domain / description
      Previous value: -"Company website domain — used to fetch the homepage ONLY when text is not provided."New value: +"Company website domain, used to fetch the homepage ONLY when text is not provided."
    • changedInput schema / properties / text / description
      Previous value: -"Text to classify directly (a description, a page you already fetched, etc.) — cheapest path, skips any fetch."New value: +"Text to classify directly (a description, a page you already fetched, etc.), cheapest path, skips any fetch."
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/openWorld/non-destructive; the description goes well beyond them by disclosing cost ('one small model call'), the exact evidence contract with per-label fields, the verification rule that 'found' requires a verbatim substring match, and the degradation behavior when no text or domain is supplied.

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

Conciseness3/5

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

The opening 'Cheap categorization' is well front-loaded, but the body is a dense run-on of comma-spliced clauses covering output shape, verification rules, and input paths in one breath. The parenthetical 'the most common GTM/AI usage shape (tagging a list by industry, ICP fit, etc.)' adds flavor more than decision value.

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?

With no output schema, the description carries the burden of describing returns and does so precisely: each label yields {label, applies, evidence_url, quote, status}, with status semantics defined. Combined with the input-path rules and cost note, an agent has everything needed to call it correctly.

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 100%, and the schema already documents the text-vs-domain precedence, the name/domain nested fields, and the 2-30 label range, so the baseline is 3. The description reinforces the ordering and adds cost semantics between paths but introduces no parameter meaning absent from the schema.

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?

States a specific verb and resource: given a company plus candidate labels, decide which labels apply, with the typical use case (tagging a list by industry or ICP fit). It also implicitly separates itself from research_row by being 'cheap' and 'one small model call', though the contrast is framed as cost rather than an explicit statement of what research_row does differently.

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?

Gives explicit path selection: pass text directly as the cheapest no-fetch route, use entity.domain to fetch the homepage as a fallback, and if neither is provided every label returns not_established with no model call. It stops short of saying when to prefer this over research_row or other research siblings, leaving that to inference from the cost framing.

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.