Skip to main content
Glama

Edit a market map

edit_market_map
Destructive

Change a market map the account owns or co-authors, in plain words, the way the chat in Market Map Maker does: 'move Cyera to Growth Stage', 'add a section of voice AI', 'remove Acme', 'make it dark', 'sort by funding', or a pasted list of companies with an instruction above it. Takes map_id from create_market_map or get_market_map. The change is saved to the same map, so the editor and any public page show it. Returns the same fields as create_market_map, including status: when it is 'building', call get_market_map until it is 'done'. Uses one market map credit only when the edit adds companies; style and layout edits are free. Needs a StartupHub.ai API key with credit (pay as you go).

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": {
      "map_id": "<map_id>",
      "instruction": "<instruction>"
    },
    "name": "edit_market_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
map_idYesThe map to change (map_id from create_market_map or get_market_map).
instructionYesWhat to change, in plain words. A long pasted list is fine: put the instruction above it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=true) by disclosing that changes persist to the same map and surface on public pages, that the response mirrors create_market_map plus a status field requiring polling, that credits are only consumed when companies are added, and that an API key with credit is required. That is the credit-cost, auth, and async-lifecycle detail an agent needs before calling a mutating tool.

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?

Front-loaded with the action and examples, then layers cost and polling semantics in a logical order. It is a single dense paragraph that runs long, but nearly every sentence carries operational information rather than filler.

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 substitutes by referencing create_market_map's return fields and the status polling loop, which is adequate. It leaves failure behavior and reversibility of an edit unstated, and doesn't clarify the boundary with style_market_map for a tool whose examples cross into styling.

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; the description earns above that by illustrating what a valid `instruction` looks like, including the non-obvious case of a long pasted company list with the directive placed above it. The map_id explanation largely repeats the schema text, so it isn't a full 5.

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 verb and resource ("Change a market map") and immediately grounds it with concrete instruction examples ('move Cyera to Growth Stage', 'remove Acme', 'make it dark'), plus a scope note that ownership/co-authorship is required. An agent can tell this is a natural-language mutation tool without opening the schema.

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?

Explains the prerequisites (map must be owned or co-authored), the source of map_id, and the follow-up loop when status is 'building'. It does not, however, distinguish this from the sibling style_market_map, even though several listed examples ('make it dark', 'sort by funding') are style/layout operations that sibling likely covers — that overlap is left for the agent to guess.

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