Skip to main content
Glama

search_by_field

Search for deals, persons, organizations, or products by any custom or standard field. Specify field type and key for targeted results.

Instructions

Search for items by a specific field value.

Searches for items by targeting a specific field (custom or standard fields).

Workflow tips:

  • Specify field_type: dealField, personField, organizationField, or productField

  • Provide field_key: the API key of the field to search

  • Use exact_match=true for precise matches

  • return_item_ids=true returns only IDs instead of full objects

  • Useful for searching custom fields

Common use cases:

  • Search deal by custom field: { "term": "ABC123", "field_type": "dealField", "field_key": "custom_id" }

  • Search person by email: { "term": "john@example.com", "field_type": "personField", "field_key": "email" }

  • Search org by domain: { "term": "acme.com", "field_type": "organizationField", "field_key": "domain" }

  • Get IDs only: { "term": "value", "field_type": "dealField", "field_key": "field", "return_item_ids": true }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYesSearch term
field_typeYesType of field to search
field_keyYesAPI key of the field to search
exact_matchNoPerform exact match search
return_item_idsNoReturn item IDs instead of full objects
startNoPagination start
limitNoNumber of items to return
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the ability to return item IDs via return_item_ids, but does not mention that this is a read-only operation, potential rate limits, or response structure. It is adequate but could be more explicit.

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?

The description is well-structured with a clear purpose, workflow tips, and common use cases. It is concise but includes all necessary details. The examples are helpful without being excessive.

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?

Given the complexity (7 parameters, 3 required), the description provides sufficient context through examples and tips. It lacks an explanation of the output format, but the tool likely returns search results consistent with other search endpoints. Overall, it is quite complete.

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?

Schema description coverage is 100%, so all parameters are described in the schema. The description adds value by explaining how to use field_key, exact_match, and return_item_ids, and provides concrete examples, surpassing the schema's basic descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool searches for items by a specific field value, targeting custom or standard fields. It distinguishes itself from siblings like search_deals or search_persons by focusing on field-level search, and provides specific field_type options.

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?

The description includes workflow tips and common use cases with examples, guiding when to use the tool (e.g., searching by custom fields). It implicitly suggests when not to use it (e.g., full-text search not using a specific field). However, it does not explicitly compare to alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iamsamuelfraga/mcp-pipedrive'

If you have feedback or need assistance with the MCP directory API, please join our Discord server