Skip to main content
Glama

wdf_data_templates_submissions_search

Read-onlyIdempotent

Searches submissions using a searchable field value. Use this tool to locate existing submissions matching the search criteria. Only fields configured as searchable in the Data Template (Form) can be used as search criteria — call wdf_data_templates_get_schema_and_sample_submissions first to see which fields are searchable for this Data Template (Form).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return (1 - 50)
searchFieldYesThe searchable field to search by
searchValueYesThe value to search for
dataTemplateIdYesThe Data Template ID.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safe-read nature is known. The description adds meaningful context: only fields configured as searchable can be used, and a specific prerequisite call is required. This goes beyond the structured data, though it does not mention rate limits or output details.

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

Conciseness5/5

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

Two sentences, front-loaded with the core purpose and followed by a key constraint and prerequisite. Every word earns its place; no fluff or redundant restatement of the tool name.

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 search tool with a prerequisite and constraint, the description covers the essential context: what it does, how to use it correctly (searchable fields), and the needed preliminary step. No output schema exists, but the description focuses on usage, not return format, which is acceptable given the tool's nature. Minor gap: no mention of pagination or default limit, but the schema covers limit.

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?

The schema covers all parameters with descriptions (100% coverage), so baseline is 3. The description adds value by clarifying that 'searchField' must be a searchable field within the Data Template, which is not explicit in the schema. It also implies 'searchValue' is the matching value, aligning with schema 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 the tool's function: 'Searches submissions using a searchable field value' and 'locate existing submissions matching the search criteria.' It distinguishes from sibling tools like list_recent by emphasizing search across fields, and directs to get_schema first, clarifying the search scope.

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

Usage Guidelines5/5

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

Explicitly states when to use the tool ('Use this tool to locate existing submissions matching the search criteria') and provides a critical prerequisite: call wdf_data_templates_get_schema_and_sample_submissions first to determine which fields are searchable. This effectively guides the agent away from inappropriate use.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a unique, clearly defined purpose: listing templates, fetching schema, and performing distinct submission operations (create, get, list recent, search, update, workflow update). Even overlapping actions like list_recent and search are differentiated by whether criteria are used, and get is by submission number. The workflow-specific tools are also distinct from the data-field tools.

Naming Consistency5/5

All tools follow a consistent wdf_data_templates_ prefix, with template-level actions using verb phrases (list, get_schema_and_sample_submissions) and submission-level actions using submissions_<verb>. The pattern is uniform, and the verb-first structure (create, get, update, search, list_recent) makes it predictable.

Tool Count5/5

Nine tools is within the ideal range for a focused domain. The count covers the full workflow of form management—schema discovery, submission CRUD (minus delete), searching, listing, and workflow state changes—without unnecessary redundancy. Each tool corresponds to a distinct operation needed to work with web data forms.

Completeness4/5

The tool set covers the core lifecycle: list templates, get schema, create/read/update submissions, search/list, and manage workflow state. The only notable gap is the lack of a delete operation for submissions, which may be intentionally omitted for audit purposes. Workflow metadata retrieval and sample submissions provide good supporting context, so agents can operate effectively.

Resources