Skip to main content
Glama

idt__SearchLegalValue

Searches and retrieves legal value records for a specified application using filter conditions, sorting, and pagination to support IDT data queries.

Instructions

[IDT] find

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": {
      "appName": "<appName>"
    },
    "name": "idt__SearchLegalValue"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo查询条件
appNameYesappName
curPageNo当前页
endIndexNo结束索引
pageSizeNo每页大小
totalRowsNo总行数
startIndexNo起始索引
totalPagesNo总页数
maxPageSizeNo最大分页数
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the entire burden of behavioral disclosure, and it discloses nothing. It doesn't say whether this is read-only, how results are paged (despite five pagination parameters), or what the response shape is for a query that can return many records.

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

Conciseness2/5

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

It is short, but shortness here is under-specification rather than conciseness – two words that carry no usable information and no front-loaded scope, resource, or return intent.

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

Completeness1/5

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

This is a high-complexity tool: ten parameters, a deeply nested query DSL, pagination, and multi-tenant options, with no annotations and no output schema. A two-word description leaves an agent unable to determine even the basic read semantics, let alone how to construct a valid query.

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%, so the schema already documents all ten parameters including the nested filter/sort structure, and the baseline of 3 applies. The description adds no meaning beyond the schema – notably it never explains the filter/conditions nesting or the publicData multi-tenant enum, but the schema covers those.

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

Purpose2/5

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

The description is just "[IDT] find" – a bare verb with a system tag. It never names the resource (legal value) or the collection being searched, so an agent must fall back on the tool name and sibling list to guess that this is a conditional query over LegalValue entities.

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

Usage Guidelines1/5

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

There is no when-to-use guidance at all. With siblings like idt__CountLegalValue, idt__ShowLegalValue, idt__ExecuteSelectLegalValue, and idt__SearchLegalValueType, there is no hint about which one to pick for a filtered vs. single-record vs. count retrieval, and no exclusions are stated.

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

Deploy Server

Other Tools