Skip to main content
Glama

Set crawl credentials

set_crawl_credentials
Idempotent

Store or replace portal login credentials for this tenant (password is encrypted server-side and can never be read back through this server).

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": {
      "portal": "<portal>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "set_crawl_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
portalYes
passwordYes
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive write. The description adds genuinely new behavioral context: the password is encrypted server-side and cannot be read back through the server, so an agent knows this is a write-only secret and cannot verify it afterward. It omits permission requirements and failure behavior, keeping it below a 5.

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?

A single front-loaded sentence with the operation stated first and the security caveat in a parenthetical that earns its place. No wasted phrasing.

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 3-parameter mutation with annotations covering safety and idempotency, the description covers the key secret-handling concern. It still leaves the valid domain of 'portal', required permissions, and overwrite/error behavior unspecified, which matters given the tenant-scoped write.

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 coverage is 0%, so the description carries the burden. It clarifies the semantics of the password parameter (write-only, encrypted, non-retrievable), which is valuable, but leaves 'portal' and 'username' unexplained — notably what values 'portal' accepts and whether it identifies a crawl source.

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 and resource: store or replace portal login credentials for a tenant. The 'replace' wording tells an agent this is an upsert, which distinguishes it from the read-oriented sibling check_crawl_credentials, though no sibling is named explicitly.

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?

Implies usage context clearly (setting credentials for a tenant's crawl portal) and signals the upsert case via 'store or replace'. However, it gives no explicit guidance on prerequisites, when to check existing credentials first, or which sibling to consult for verification.

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