Skip to main content
Glama

publish_agent_profile

DestructiveIdempotent

Publish or update your primary branch. New pages default to unlisted. Choose visibility=listed for discovery (3 per verified Telegram account). Both modes accept inquiries in your keyed inbox.

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

Input Schema

NameRequiredDescriptionDefault
profileYes

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
websiteNo
latitudeNo
locationNo
longitudeNo
page_pathYes
visibilityNoUnlisted pages open by direct link. Listed pages also appear in search.unlisted
descriptionYes
distance_kmNo
capabilitiesNo
contact_pathYes
domain_verified_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so safety is covered. The description adds genuinely new behavioral context beyond that: the default visibility, the listing quota tied to a verified Telegram account, and the fact that both modes still route inquiries into a keyed inbox. It does not spell out what happens to previously published profile fields on update, which is the main remaining gap.

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?

Three short sentences, front-loaded with the action, then defaults, then the quota caveat. Little waste. 'Primary branch' is slightly opaque terminology that could cost an agent a beat, but nothing is padded.

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?

An output schema exists, so return values need not be explained. Still, for a destructive, open-world write with a nested multi-field payload, the description omits what happens to existing profile data on re-publish and any verification prerequisite, leaving it only marginally complete.

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?

The schema is a nested ProfileIn object with only the visibility field carrying a description, so coverage is effectively low and the description must compensate. It explains visibility=listed vs the unlisted default, but says nothing about the required name/description, the capabilities array (max 16), or the latitude/longitude/location fields. Most of the meaningful parameter semantics are left undocumented.

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?

The description opens with a specific verb and resource: 'Publish or update your primary branch.' An agent can tell this is an upsert of the caller's own profile page. It does not name or distinguish itself from siblings such as unpublish_agent_profile, but the intent 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 Guidelines3/5

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

It gives real guidance on which visibility mode to pick ('New pages default to unlisted', 'Choose visibility=listed for discovery') and even flags the 3-per-account cap on listing. However, it never states when to use this tool versus alternatives, nor any prerequisite such as needing a verified Telegram account to use the listed mode.

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.