Skip to main content
Glama

batch_verify

Verify multiple fact claims simultaneously by submitting up to 10 items in one request using groundtruth verification service.

Instructions

Batch verify up to 10 claims at once. Cost: $0.020 USDC. Service: groundtruth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimsYes

Implementation Reference

  • The tool implementation is dynamic. Tools are not hardcoded but fetched from a remote registry at runtime. The handler for CallToolRequestSchema finds the matching tool definition by name and calls it using the 'callTool' function.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      const { name, arguments: args } = request.params;
    
      let registry: Registry;
      try {
        registry = await fetchRegistry();
      } catch (error) {
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify({ error: "Failed to fetch tool registry", detail: String(error) }),
            },
          ],
        };
      }
    
      const tool = registry.tools.find((t) => t.name === name);
      if (!tool) {
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify({
                error: `Tool '${name}' not found`,
                available_tools: registry.tools.map((t) => t.name),
              }),
            },
          ],
        };
      }
    
      try {
        const result = await callTool(tool, args as Record<string, unknown>);
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(result, null, 2),
            },
          ],
        };
      } catch (error) {
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify({
                error: "Tool call failed",
                tool: name,
                service: tool.service,
                detail: String(error),
              }),
            },
          ],
        };
      }
    });
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses cost ('$0.020 USDC') and service provider ('groundtruth'), which are useful behavioral traits. However, it doesn't cover other important aspects like authentication needs, rate limits, error handling, or what 'verify' entails operationally (e.g., what verification means in this context).

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?

The description is extremely concise with three short phrases, each adding value: the core function, cost, and service provider. It's front-loaded with the main purpose and wastes no words, making it efficient for an AI agent to parse.

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

Completeness2/5

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

Given no annotations, 0% schema coverage, and no output schema, the description is incomplete. It lacks details on what 'verify' means, the format of claims, expected output, error conditions, and how it differs from sibling tools. The cost and service info are helpful but insufficient for full contextual understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It mentions 'claims' as the parameter but doesn't explain what constitutes a claim, expected format, or validation rules. The 'up to 10' hint partially addresses the array size, but overall, parameter semantics are minimally covered beyond what the schema's structure implies.

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 clearly states the tool's purpose: 'Batch verify up to 10 claims at once.' It specifies the verb ('verify'), resource ('claims'), and scope ('batch', 'up to 10'). However, it doesn't explicitly differentiate from the sibling tool 'verify_claim', which appears to be a single-claim version.

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?

The description implies usage context through 'batch verify up to 10 claims at once,' suggesting this tool is for multiple claims rather than single ones. However, it doesn't explicitly state when to use this versus 'verify_claim' or other verification-related tools, nor does it mention prerequisites or exclusions.

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/yantrix-ai/yantrix-mcp'

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