Skip to main content
Glama

generate_eb1a_petition_latex

Generate a complete LaTeX EB1A Extraordinary Ability petition letter using beneficiary name, field of expertise, and claimed criteria.

Instructions

Generate a complete LaTeX document for an EB1A Extraordinary Ability petition letter.

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": {
      "beneficiaryName": "<beneficiaryName>",
      "fieldOfExpertise": "<fieldOfExpertise>",
      "claimedCriteria": "<claimedCriteria>"
    },
    "name": "generate_eb1a_petition_latex"
  }
}

Input Schema

NameRequiredDescriptionDefault
beneficiaryNameYesFull legal name of the petitioner
claimedCriteriaYesList of criteria numbers being claimed (e.g., ["4", "5", "6", "8"])
fieldOfExpertiseYesField of extraordinary ability

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it never says what is returned (a LaTeX string, a file path, a saved document), whether the preamble is included, or whether user input is escaped for LaTeX. The word 'complete' actually creates ambiguity given that a sibling exists specifically for preamble generation, so it is unclear whether this output is standalone.

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?

A single front-loaded sentence with no wasted words. It is not padded, though its brevity is also the source of the missing guidance.

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?

For a document-generation tool with three required parameters, no annotations, and no output schema, the description should clarify return format and the relationship to generate_latex_preamble and the EB1A analysis tools. It omits both, leaving the agent to guess at the surrounding workflow.

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 all three parameters (beneficiaryName, fieldOfExpertise, claimedCriteria) are already documented in the schema. The description adds no meaning beyond that, e.g. it does not say whether claimedCriteria numbers map to the criteria from get_eb1a_criteria_summary or whether they are validated.

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?

States a specific verb (Generate) and resource (a complete LaTeX document for an EB1A petition letter), which is enough to distinguish it from siblings like generate_exhibit_list_latex or generate_reference_letter_latex by artifact type. The sibling generate_niw_petition_latex is implicitly separated by the 'EB1A' qualifier, but the description never names it or states the contrast explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus generate_niw_petition_latex, nor on prerequisites such as analyzing EB1A criteria first or whether generate_latex_preamble must be run separately. The agent must infer the workflow entirely from tool names, which the instructions say not to do.

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