Skip to main content
Glama

Map a profile onto form fields

plan_profile_fill
Read-onlyIdempotent

Given form field names (from inspect_pdf) and a personal/business profile, return a ready values object for fill_pdf. Matching uses the field names (e.g. "Email Address" -> email). Fields it cannot match are listed so you can ask the user.

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": {
      "field_names": "<field_names>",
      "profile": "<profile>"
    },
    "name": "plan_profile_fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileYesProfile values. Known keys: fullName, firstName, lastName, businessName, taxClass, ssn, ein, address, cityStateZip, city, state, zip, phone, email, date, initials. Missing keys are skipped; date defaults to today.
field_namesYesField names exactly as inspect_pdf returned them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, closed-world). The description adds behavior those annotations cannot express: matching is heuristic based on field-name text, unmatched fields are surfaced rather than silently dropped, and an example mapping ("Email Address" -> email) shows the inference style.

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?

Three tight sentences: inputs and output first, matching rule second, failure handling last. Nothing repeats the schema or annotations.

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?

With no output schema, the description must convey the return shape, and it does at a high level (values object plus an unmatched-fields listing). The exact key names of the result are not given, which is a minor gap for an agent that must consume it programmatically.

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 coverage is 100%, so the baseline is 3, but the description adds the matching heuristic that governs how field_names map to profile keys — something the schema does not state. The example mapping is genuinely informative for predicting output.

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?

States a specific transformation: form field names plus a profile in, a ready values object out. It also names the sibling it consumes from (inspect_pdf) and the sibling it feeds (fill_pdf), so its place in the pipeline is unambiguous.

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?

Explicitly frames the workflow: use field names produced by inspect_pdf, then pass the result to fill_pdf. It also tells the agent what to do on partial matching failure (ask the user). No explicit when-not-to-use case, but the pipeline context is clear.

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.

Resources