Skip to main content
Glama

Autotouch AI

Query leads

leads_query

Read a page of leads that match a filter, search or selection, optionally with research values and a total count. Changes nothing in this workspace. Runs as the signed-in user with their Autotouch permissions.

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": {
      "body": "<body>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "leads_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
idempotency_keyYesStable key for this exact action; reuse the same key on every retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

The description asserts 'Changes nothing in this workspace' and frames the tool as a pure read, while the annotations declare readOnlyHint=false. That is a direct contradiction of the supplied behavioral metadata, and an agent cannot tell whether invoking this has side effects. The permissions note ('signed-in user with their Autotouch permissions') is useful context but does not resolve the conflict.

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?

Three short sentences, front-loaded with the action and payload before the safety and identity notes; there is no filler. Only mild ambiguity in the word 'selection', which maps to no obvious schema field.

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?

The schema is rich and nested (filter/group trees, sort specs, pagination, column projection) with no output schema, so the description should carry more weight on what a returned page looks like and why idempotency_key is mandatory. It covers the high-level shape but leaves most of the query surface and the return payload undocumented.

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 coverage is roughly 50%, and the description does add meaning for several body fields: filter, search, selection, include_research_data ('research values'), and include_count ('total count'). However, it says nothing about the required idempotency_key — notably for a supposedly read-only call — nor about pagination, sort, visible_columns, or the scope/related-table toggles.

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 opens with a specific verb and resource ('Read a page of leads') and quantifies the selector modes ('filter, search or selection') plus the optional payload ('research values and a total count'). An agent can distinguish this from leads_create/leads_update and from generic table readers, though it never names a sibling to route against.

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 implied rather than stated: the mention of 'filter, search or selection' signals the three query modes, and 'optionally with research values and a total count' hints at when to enable those flags. There is no explicit when-to-use/when-not guidance and no pointer to query_table_rows, read_table_synced_leads, or signals_query as alternatives.

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