Skip to main content
Glama

fill_code

Type the current authenticator code into the matching page over CDP. The code is not returned. With no seed for the site, the answer carries authenticator_setup, the site's steps. If a site's verification has no saved seed, ask the owner for one sign-in approval, then add runnerID as a second authenticator using the site guide, then save_authenticator. Never ask the owner for codes repeatedly.

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": {
      "site": "<site>",
      "cdp_url": "<cdp_url>"
    },
    "name": "fill_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
loginNo
cdp_urlYes
selectorNo
approval_idNo
identity_idNoIdentity to use. Omit when the account has exactly one identity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / approval_id
      Added value: +{
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedInput schema / properties / login
      Added value: +{
      +  "maxLength": 500,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the key surprises: the code value is never returned, the response may instead contain authenticator_setup with site steps, and an approval is required before enrollment. It does not say what a successful call returns or what happens if the page or selector doesn't match, so a mutation executed against a live browser session is not fully characterized.

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?

Purpose is front-loaded in the first two short sentences, and every later sentence adds operational information. The middle sentence chains four actions into one clause, which costs some scannability but no words are truly wasted.

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

Completeness3/5

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

For a 6-parameter, annotation-free, output-schema-less tool the description does useful work (failure/enrollment path, response shape hint), but it leaves the connection and selector parameters unexplained and doesn't state the outcome of a successful fill, which is material for an agent driving a live browser.

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 only 17% (just identity_id), so the description should compensate, and it only partially does: "site" is implied by "no seed for the site" and approval by "one sign-in approval." The semantics of cdp_url, selector, login, and approval_id remain undocumented in both places.

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?

"Type the current authenticator code into the matching page over CDP" names a specific verb (type), resource (authenticator code), and target (the page), and the follow-up "The code is not returned" cleanly separates it from the sibling get_authenticator_code, which evidently returns the code instead.

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?

It gives a concrete escalation path for the no-seed case (answer carries authenticator_setup, request one owner sign-in approval, add runnerID as second authenticator via the site guide, then save_authenticator) and a policy line ("Never ask the owner for codes repeatedly"). What's missing is an explicit statement of when to prefer this over fill_email_code or fill_login for the same page.

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