Skip to main content
Glama

set_profile

Configure a provider's local profile—spend permission, funding status, and login—and save it to the config so agents can decide when paid model calls are allowed.

Instructions

Set local spend_ok / funded / login for a provider. Saved to the config file.

spend_ok: allow unprompted paid picks (default false). funded: a paid call would work (card or credits). Not permission. login: how you signed up, e.g. github:youruser or google:you@example.com.

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": {
      "provider": "<provider>"
    },
    "name": "set_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
loginNo
fundedNo
providerYes
spend_okNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two important traits: the values are stored locally in the config file, and spend_ok defaults to false. The 'funded ... Not permission' caveat is genuinely useful behavioral context. It does not say whether a partial call merges with or overwrites existing config, what happens if the config file is missing, or whether any confirmation is returned.

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?

One sentence of purpose followed by a compact per-field glossary, all front-loaded with zero filler. Every line adds information an agent could not get from the schema alone.

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?

An output schema exists, so return values need no explanation, and the field glossary covers the semantics an agent needs before writing. The remaining gap is operational: whether omitted fields are preserved, and any precondition on the config file's existence.

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 0%, so the description must supply meaning, and it does for three of four parameters, including a concrete format example for login (github:youruser, google:you@example.com) and defaults for spend_ok. The required 'provider' parameter is left undefined, though its meaning is largely implied by the tool name and domain.

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 (set) and the exact resources (spend_ok / funded / login) scoped to a provider, plus where the result lands (the config file). It clearly reads as a write counterpart to a profile-reading sibling, though it never names an alternative tool explicitly.

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?

Usage is only implied: an agent can infer it should call this after learning the user's billing or signup state, and the 'funded ... Not permission' note hints at a common misuse. There is no explicit when-to-use/when-not statement and no pointer to related tools such as the read-side profile or key-configuration siblings.

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